llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpk49grmb3.c' source_filename = "/tmp/tmpk49grmb3.c" target datalayout = "e-m:e-p270: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 { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } %struct.hostent = type { i32, i64 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"USAGE: %s hostname port\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"CLIENT: ERROR, no such host\0A\00", align 1 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [29 x i8] c"CLIENT: ERROR opening socket\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"CLIENT: ERROR connecting\00", align 1 @.str.4 = private unnamed_addr constant [63 x i8] c"CLIENT: Enter text to send to the server, and then hit enter: \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [32 x i8] c"CLIENT: ERROR writing to socket\00", align 1 @.str.7 = private unnamed_addr constant [50 x i8] c"CLIENT: WARNING: Not all data written to socket!\0A\00", align 1 @.str.8 = private unnamed_addr constant [34 x i8] c"CLIENT: ERROR reading from socket\00", align 1 @.str.9 = private unnamed_addr constant [47 x i8] c"CLIENT: I received this from the server: \22%s\22\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 %struct.sockaddr_in, align 4 %11 = alloca ptr, align 8 %12 = alloca [256 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 3 br i1 %14, label %15, label %22 15: ; preds = %2 %16 = load i32, ptr @stderr, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %19) %21 = call i32 @exit(i32 noundef 0) #3 unreachable 22: ; preds = %2 %23 = call i32 @memset(ptr noundef %10, i8 noundef signext 0, i32 noundef 12) %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 2 %26 = load ptr, ptr %25, align 8 %27 = call i32 @atoi(ptr noundef %26) store i32 %27, ptr %7, align 4 %28 = load i32, ptr @AF_INET, align 4 %29 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2 store i32 %28, ptr %29, align 4 %30 = load i32, ptr %7, align 4 %31 = call i32 @htons(i32 noundef %30) %32 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1 store i32 %31, ptr %32, align 4 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 1 %35 = load ptr, ptr %34, align 8 %36 = call ptr @gethostbyname(ptr noundef %35) store ptr %36, ptr %11, align 8 %37 = load ptr, ptr %11, align 8 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %43 39: ; preds = %22 %40 = load i32, ptr @stderr, align 4 %41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.1) %42 = call i32 @exit(i32 noundef 0) #3 unreachable 43: ; preds = %22 %44 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0 %45 = getelementptr inbounds %struct.TYPE_2__, ptr %44, i32 0, i32 0 %46 = load ptr, ptr %11, align 8 %47 = getelementptr inbounds %struct.hostent, ptr %46, i32 0, i32 1 %48 = load i64, ptr %47, align 8 %49 = inttoptr i64 %48 to ptr %50 = load ptr, ptr %11, align 8 %51 = getelementptr inbounds %struct.hostent, ptr %50, i32 0, i32 0 %52 = load i32, ptr %51, align 8 %53 = call i32 @memcpy(ptr noundef %45, ptr noundef %49, i32 noundef %52) %54 = load i32, ptr @AF_INET, align 4 %55 = load i32, ptr @SOCK_STREAM, align 4 %56 = call i32 @socket(i32 noundef %54, i32 noundef %55, i32 noundef 0) store i32 %56, ptr %6, align 4 %57 = load i32, ptr %6, align 4 %58 = icmp slt i32 %57, 0 br i1 %58, label %59, label %61 59: ; preds = %43 %60 = call i32 @error(ptr noundef @.str.2) br label %61 61: ; preds = %59, %43 %62 = load i32, ptr %6, align 4 %63 = call i64 @connect(i32 noundef %62, ptr noundef %10, i32 noundef 12) %64 = icmp slt i64 %63, 0 br i1 %64, label %65, label %67 65: ; preds = %61 %66 = call i32 @error(ptr noundef @.str.3) br label %67 67: ; preds = %65, %61 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %69 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0 %70 = call i32 @memset(ptr noundef %69, i8 noundef signext 0, i32 noundef 256) %71 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0 %72 = load i32, ptr @stdin, align 4 %73 = call i32 @fgets(ptr noundef %71, i32 noundef 255, i32 noundef %72) %74 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0 %75 = call i64 @strcspn(ptr noundef %74, ptr noundef @.str.5) %76 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %75 store i8 0, ptr %76, align 1 %77 = load i32, ptr %6, align 4 %78 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0 %79 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0 %80 = call i32 @strlen(ptr noundef %79) %81 = call i32 @send(i32 noundef %77, ptr noundef %78, i32 noundef %80, i32 noundef 0) store i32 %81, ptr %8, align 4 %82 = load i32, ptr %8, align 4 %83 = icmp slt i32 %82, 0 br i1 %83, label %84, label %86 84: ; preds = %67 %85 = call i32 @error(ptr noundef @.str.6) br label %86 86: ; preds = %84, %67 %87 = load i32, ptr %8, align 4 %88 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0 %89 = call i32 @strlen(ptr noundef %88) %90 = icmp slt i32 %87, %89 br i1 %90, label %91, label %93 91: ; preds = %86 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %93 93: ; preds = %91, %86 %94 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0 %95 = call i32 @memset(ptr noundef %94, i8 noundef signext 0, i32 noundef 256) %96 = load i32, ptr %6, align 4 %97 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0 %98 = call i32 @recv(i32 noundef %96, ptr noundef %97, i32 noundef 255, i32 noundef 0) store i32 %98, ptr %9, align 4 %99 = load i32, ptr %9, align 4 %100 = icmp slt i32 %99, 0 br i1 %100, label %101, label %103 101: ; preds = %93 %102 = call i32 @error(ptr noundef @.str.8) br label %103 103: ; preds = %101, %93 %104 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0 %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %104) %106 = load i32, ptr %6, align 4 %107 = call i32 @close(i32 noundef %106) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @htons(i32 noundef) #1 declare ptr @gethostbyname(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @error(ptr noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strcspn(ptr noundef, ptr noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk49grmb3.c" target datalayout = "e-m:e-p270: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 { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } %struct.hostent = type { i32, i64 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"USAGE: %s hostname port\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"CLIENT: ERROR, no such host\0A\00", align 1 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [29 x i8] c"CLIENT: ERROR opening socket\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"CLIENT: ERROR connecting\00", align 1 @.str.4 = private unnamed_addr constant [63 x i8] c"CLIENT: Enter text to send to the server, and then hit enter: \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [32 x i8] c"CLIENT: ERROR writing to socket\00", align 1 @.str.7 = private unnamed_addr constant [50 x i8] c"CLIENT: WARNING: Not all data written to socket!\0A\00", align 1 @.str.8 = private unnamed_addr constant [34 x i8] c"CLIENT: ERROR reading from socket\00", align 1 @.str.9 = private unnamed_addr constant [47 x i8] c"CLIENT: I received this from the server: \22%s\22\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 %struct.sockaddr_in, align 4 %11 = alloca ptr, align 8 %12 = alloca [256 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 3 br i1 %14, label %15, label %22 15: ; preds = %2 %16 = load i32, ptr @stderr, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %19) %21 = call i32 @exit(i32 noundef 0) #3 unreachable 22: ; preds = %2 %23 = call i32 @memset(ptr noundef %10, i8 noundef signext 0, i32 noundef 12) %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 2 %26 = load ptr, ptr %25, align 8 %27 = call i32 @atoi(ptr noundef %26) store i32 %27, ptr %7, align 4 %28 = load i32, ptr @AF_INET, align 4 %29 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2 store i32 %28, ptr %29, align 4 %30 = load i32, ptr %7, align 4 %31 = call i32 @htons(i32 noundef %30) %32 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1 store i32 %31, ptr %32, align 4 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 1 %35 = load ptr, ptr %34, align 8 %36 = call ptr @gethostbyname(ptr noundef %35) store ptr %36, ptr %11, align 8 %37 = load ptr, ptr %11, align 8 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %43 39: ; preds = %22 %40 = load i32, ptr @stderr, align 4 %41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.1) %42 = call i32 @exit(i32 noundef 0) #3 unreachable 43: ; preds = %22 %44 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0 %45 = getelementptr inbounds %struct.TYPE_2__, ptr %44, i32 0, i32 0 %46 = load ptr, ptr %11, align 8 %47 = getelementptr inbounds %struct.hostent, ptr %46, i32 0, i32 1 %48 = load i64, ptr %47, align 8 %49 = inttoptr i64 %48 to ptr %50 = load ptr, ptr %11, align 8 %51 = getelementptr inbounds %struct.hostent, ptr %50, i32 0, i32 0 %52 = load i32, ptr %51, align 8 %53 = call i32 @memcpy(ptr noundef %45, ptr noundef %49, i32 noundef %52) %54 = load i32, ptr @AF_INET, align 4 %55 = load i32, ptr @SOCK_STREAM, align 4 %56 = call i32 @socket(i32 noundef %54, i32 noundef %55, i32 noundef 0) store i32 %56, ptr %6, align 4 %57 = load i32, ptr %6, align 4 %58 = icmp slt i32 %57, 0 br i1 %58, label %59, label %61 59: ; preds = %43 %60 = call i32 @error(ptr noundef @.str.2) br label %61 61: ; preds = %59, %43 %62 = load i32, ptr %6, align 4 %63 = call i64 @connect(i32 noundef %62, ptr noundef %10, i32 noundef 12) %64 = icmp slt i64 %63, 0 br i1 %64, label %65, label %67 65: ; preds = %61 %66 = call i32 @error(ptr noundef @.str.3) br label %67 67: ; preds = %65, %61 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %69 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0 %70 = call i32 @memset(ptr noundef %69, i8 noundef signext 0, i32 noundef 256) %71 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0 %72 = load i32, ptr @stdin, align 4 %73 = call i32 @fgets(ptr noundef %71, i32 noundef 255, i32 noundef %72) %74 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0 %75 = call i64 @strcspn(ptr noundef %74, ptr noundef @.str.5) %76 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %75 store i8 0, ptr %76, align 1 %77 = load i32, ptr %6, align 4 %78 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0 %79 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0 %80 = call i32 @strlen(ptr noundef %79) %81 = call i32 @send(i32 noundef %77, ptr noundef %78, i32 noundef %80, i32 noundef 0) store i32 %81, ptr %8, align 4 %82 = load i32, ptr %8, align 4 %83 = icmp slt i32 %82, 0 br i1 %83, label %84, label %86 84: ; preds = %67 %85 = call i32 @error(ptr noundef @.str.6) br label %86 86: ; preds = %84, %67 %87 = load i32, ptr %8, align 4 %88 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0 %89 = call i32 @strlen(ptr noundef %88) %90 = icmp slt i32 %87, %89 br i1 %90, label %91, label %93 91: ; preds = %86 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %93 93: ; preds = %91, %86 %94 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0 %95 = call i32 @memset(ptr noundef %94, i8 noundef signext 0, i32 noundef 256) %96 = load i32, ptr %6, align 4 %97 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0 %98 = call i32 @recv(i32 noundef %96, ptr noundef %97, i32 noundef 255, i32 noundef 0) store i32 %98, ptr %9, align 4 %99 = load i32, ptr %9, align 4 %100 = icmp slt i32 %99, 0 br i1 %100, label %101, label %103 101: ; preds = %93 %102 = call i32 @error(ptr noundef @.str.8) br label %103 103: ; preds = %101, %93 %104 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0 %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %104) %106 = load i32, ptr %6, align 4 %107 = call i32 @close(i32 noundef %106) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @htons(i32 noundef) #1 declare ptr @gethostbyname(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @error(ptr noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strcspn(ptr noundef, ptr noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcbr82_lf.c' source_filename = "/tmp/tmpcbr82_lf.c" target datalayout = "e-m:e-p270: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/tmpcbr82_lf.c" target datalayout = "e-m:e-p270: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/tmpq9u4udsg.c' source_filename = "/tmp/tmpq9u4udsg.c" target datalayout = "e-m:e-p270: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.seq = private unnamed_addr constant [35 x i8] c"ACGACATCGGACTGACactgactgacatgcactg\00", align 16 @.str = private unnamed_addr constant [14 x i8] c"seq type: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"before revcomp: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"after revcomp: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [35 x i8], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.seq, i64 35, i1 false) %3 = getelementptr inbounds [35 x i8], ptr %2, i64 0, i64 0 %4 = call ptr @seq_guess_type(ptr noundef %3) %5 = call i32 @printf(ptr noundef @.str, ptr noundef %4) %6 = getelementptr inbounds [35 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @printf(ptr noundef @.str.1, ptr noundef %6) %8 = getelementptr inbounds [35 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @revcomp_nuc(ptr noundef %8) %10 = getelementptr inbounds [35 x i8], ptr %2, i64 0, i64 0 %11 = call i32 @printf(ptr noundef @.str.2, ptr noundef %10) 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, ptr noundef) #2 declare ptr @seq_guess_type(ptr noundef) #2 declare i32 @revcomp_nuc(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq9u4udsg.c" target datalayout = "e-m:e-p270: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.seq = private unnamed_addr constant [35 x i8] c"ACGACATCGGACTGACactgactgacatgcactg\00", align 16 @.str = private unnamed_addr constant [14 x i8] c"seq type: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"before revcomp: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"after revcomp: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [35 x i8], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.seq, i64 35, i1 false) %3 = getelementptr inbounds [35 x i8], ptr %2, i64 0, i64 0 %4 = call ptr @seq_guess_type(ptr noundef %3) %5 = call i32 @printf(ptr noundef @.str, ptr noundef %4) %6 = getelementptr inbounds [35 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @printf(ptr noundef @.str.1, ptr noundef %6) %8 = getelementptr inbounds [35 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @revcomp_nuc(ptr noundef %8) %10 = getelementptr inbounds [35 x i8], ptr %2, i64 0, i64 0 %11 = call i32 @printf(ptr noundef @.str.2, ptr noundef %10) 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, ptr noundef) #2 declare ptr @seq_guess_type(ptr noundef) #2 declare i32 @revcomp_nuc(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpip1l6l_l.c' source_filename = "/tmp/tmpip1l6l_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @substring(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i64 @strlen(ptr noundef %11) store i64 %12, ptr %6, align 8 %13 = load ptr, ptr %5, align 8 %14 = call i64 @strlen(ptr noundef %13) store i64 %14, ptr %7, align 8 store i64 0, ptr %8, align 8 br label %15 15: ; preds = %59, %2 %16 = load i64, ptr %8, align 8 %17 = load i64, ptr %6, align 8 %18 = icmp ult i64 %16, %17 br i1 %18, label %19, label %62 19: ; preds = %15 %20 = load ptr, ptr %4, align 8 %21 = load i64, ptr %8, align 8 %22 = getelementptr inbounds i8, ptr %20, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 0 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %24, %28 br i1 %29, label %30, label %58 30: ; preds = %19 %31 = load i64, ptr %8, align 8 store i64 %31, ptr %9, align 8 store i64 0, ptr %10, align 8 br label %32 32: ; preds = %50, %30 %33 = load i64, ptr %10, align 8 %34 = load i64, ptr %7, align 8 %35 = icmp ult i64 %33, %34 br i1 %35, label %36, label %55 36: ; preds = %32 %37 = load ptr, ptr %4, align 8 %38 = load i64, ptr %9, align 8 %39 = getelementptr inbounds i8, ptr %37, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = load ptr, ptr %5, align 8 %43 = load i64, ptr %10, align 8 %44 = getelementptr inbounds i8, ptr %42, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp ne i32 %41, %46 br i1 %47, label %48, label %49 48: ; preds = %36 store i32 -1, ptr %3, align 4 br label %63 49: ; preds = %36 br label %50 50: ; preds = %49 %51 = load i64, ptr %9, align 8 %52 = add i64 %51, 1 store i64 %52, ptr %9, align 8 %53 = load i64, ptr %10, align 8 %54 = add i64 %53, 1 store i64 %54, ptr %10, align 8 br label %32, !llvm.loop !6 55: ; preds = %32 %56 = load i64, ptr %8, align 8 %57 = trunc i64 %56 to i32 store i32 %57, ptr %3, align 4 br label %63 58: ; preds = %19 br label %59 59: ; preds = %58 %60 = load i64, ptr %8, align 8 %61 = add i64 %60, 1 store i64 %61, ptr %8, align 8 br label %15, !llvm.loop !8 62: ; preds = %15 store i32 -1, ptr %3, align 4 br label %63 63: ; preds = %62, %55, %48 %64 = load i32, ptr %3, align 4 ret i32 %64 } declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpip1l6l_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @substring(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i64 @strlen(ptr noundef %11) store i64 %12, ptr %6, align 8 %13 = load ptr, ptr %5, align 8 %14 = call i64 @strlen(ptr noundef %13) store i64 %14, ptr %7, align 8 store i64 0, ptr %8, align 8 %15 = load i64, ptr %8, align 8 %16 = load i64, ptr %6, align 8 %17 = icmp ult i64 %15, %16 br i1 %17, label %.lr.ph, label %66 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %60 %19 = load ptr, ptr %4, align 8 %20 = load i64, ptr %8, align 8 %21 = getelementptr inbounds i8, ptr %19, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 0 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %23, %27 br i1 %28, label %29, label %59 29: ; preds = %18 %30 = load i64, ptr %8, align 8 store i64 %30, ptr %9, align 8 store i64 0, ptr %10, align 8 %31 = load i64, ptr %10, align 8 %32 = load i64, ptr %7, align 8 %33 = icmp ult i64 %31, %32 br i1 %33, label %.lr.ph2, label %56 .lr.ph2: ; preds = %29 br label %34 34: ; preds = %.lr.ph2, %48 %35 = load ptr, ptr %4, align 8 %36 = load i64, ptr %9, align 8 %37 = getelementptr inbounds i8, ptr %35, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = load ptr, ptr %5, align 8 %41 = load i64, ptr %10, align 8 %42 = getelementptr inbounds i8, ptr %40, i64 %41 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp ne i32 %39, %44 br i1 %45, label %46, label %47 46: ; preds = %34 store i32 -1, ptr %3, align 4 br label %67 47: ; preds = %34 br label %48 48: ; preds = %47 %49 = load i64, ptr %9, align 8 %50 = add i64 %49, 1 store i64 %50, ptr %9, align 8 %51 = load i64, ptr %10, align 8 %52 = add i64 %51, 1 store i64 %52, ptr %10, align 8 %53 = load i64, ptr %10, align 8 %54 = load i64, ptr %7, align 8 %55 = icmp ult i64 %53, %54 br i1 %55, label %34, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %48 br label %56 56: ; preds = %._crit_edge3, %29 %57 = load i64, ptr %8, align 8 %58 = trunc i64 %57 to i32 store i32 %58, ptr %3, align 4 br label %67 59: ; preds = %18 br label %60 60: ; preds = %59 %61 = load i64, ptr %8, align 8 %62 = add i64 %61, 1 store i64 %62, ptr %8, align 8 %63 = load i64, ptr %8, align 8 %64 = load i64, ptr %6, align 8 %65 = icmp ult i64 %63, %64 br i1 %65, label %18, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %60 br label %66 66: ; preds = %._crit_edge, %2 store i32 -1, ptr %3, align 4 br label %67 67: ; preds = %66, %56, %46 %68 = load i32, ptr %3, align 4 ret i32 %68 } declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp56z_ilso.c' source_filename = "/tmp/tmp56z_ilso.c" target datalayout = "e-m:e-p270: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/tmp56z_ilso.c" target datalayout = "e-m:e-p270: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/tmp2hag6kh7.c' source_filename = "/tmp/tmp2hag6kh7.c" target datalayout = "e-m:e-p270: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.hostent = type { i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"Usage: %s <domain-name>\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Error, could not resolve.\0A\00", align 1 @INET_ADDRSTRLEN = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = 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 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 2 br i1 %10, label %11, label %18 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %15) %17 = call i32 @exit(i32 noundef 1) #4 unreachable 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call ptr @gethostbyname(ptr noundef %21) store ptr %22, ptr %6, align 8 %23 = load ptr, ptr %6, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %29, label %25 25: ; preds = %18 %26 = load i32, ptr @stderr, align 4 %27 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %26) %28 = call i32 @exit(i32 noundef 1) #4 unreachable 29: ; preds = %18 %30 = load i32, ptr @INET_ADDRSTRLEN, align 4 %31 = zext i32 %30 to i64 %32 = call ptr @llvm.stacksave() store ptr %32, ptr %7, align 8 %33 = alloca i8, i64 %31, align 16 store i64 %31, ptr %8, align 8 %34 = load i32, ptr @AF_INET, align 4 %35 = load ptr, ptr %6, align 8 %36 = getelementptr inbounds %struct.hostent, ptr %35, i32 0, i32 0 %37 = load i32, ptr %36, align 4 %38 = load i32, ptr @INET_ADDRSTRLEN, align 4 %39 = call i32 @inet_ntop(i32 noundef %34, i32 noundef %37, ptr noundef %33, i32 noundef %38) %40 = call i32 @printf(ptr noundef @.str.2, ptr noundef %33) store i32 0, ptr %3, align 4 %41 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %41) %42 = load i32, ptr %3, align 4 ret i32 %42 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @gethostbyname(ptr noundef) #1 declare i32 @fputs(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #3 declare i32 @inet_ntop(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 = { nocallback nofree nosync nounwind willreturn } 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/tmp2hag6kh7.c" target datalayout = "e-m:e-p270: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.hostent = type { i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"Usage: %s <domain-name>\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Error, could not resolve.\0A\00", align 1 @INET_ADDRSTRLEN = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = 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 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 2 br i1 %10, label %11, label %18 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %15) %17 = call i32 @exit(i32 noundef 1) #4 unreachable 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call ptr @gethostbyname(ptr noundef %21) store ptr %22, ptr %6, align 8 %23 = load ptr, ptr %6, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %29, label %25 25: ; preds = %18 %26 = load i32, ptr @stderr, align 4 %27 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %26) %28 = call i32 @exit(i32 noundef 1) #4 unreachable 29: ; preds = %18 %30 = load i32, ptr @INET_ADDRSTRLEN, align 4 %31 = zext i32 %30 to i64 %32 = call ptr @llvm.stacksave() store ptr %32, ptr %7, align 8 %33 = alloca i8, i64 %31, align 16 store i64 %31, ptr %8, align 8 %34 = load i32, ptr @AF_INET, align 4 %35 = load ptr, ptr %6, align 8 %36 = getelementptr inbounds %struct.hostent, ptr %35, i32 0, i32 0 %37 = load i32, ptr %36, align 4 %38 = load i32, ptr @INET_ADDRSTRLEN, align 4 %39 = call i32 @inet_ntop(i32 noundef %34, i32 noundef %37, ptr noundef %33, i32 noundef %38) %40 = call i32 @printf(ptr noundef @.str.2, ptr noundef %33) store i32 0, ptr %3, align 4 %41 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %41) %42 = load i32, ptr %3, align 4 ret i32 %42 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @gethostbyname(ptr noundef) #1 declare i32 @fputs(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #3 declare i32 @inet_ntop(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 = { nocallback nofree nosync nounwind willreturn } 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/tmp37048czb.c' source_filename = "/tmp/tmp37048czb.c" target datalayout = "e-m:e-p270: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/tmp37048czb.c" target datalayout = "e-m:e-p270: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/tmpbyo42nf3.c' source_filename = "/tmp/tmpbyo42nf3.c" target datalayout = "e-m:e-p270: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/tmpbyo42nf3.c" target datalayout = "e-m:e-p270: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/tmpfk4r5dh0.c' source_filename = "/tmp/tmpfk4r5dh0.c" target datalayout = "e-m:e-p270: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/tmpfk4r5dh0.c" target datalayout = "e-m:e-p270: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/tmp6efkaix0.c' source_filename = "/tmp/tmp6efkaix0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lower1(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 br label %4 4: ; preds = %35, %1 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = icmp slt i32 %5, %7 br i1 %8, label %9, label %38 9: ; preds = %4 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp sge i32 %15, 65 br i1 %16, label %17, label %34 17: ; preds = %9 %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %3, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp sle i32 %23, 90 br i1 %24, label %25, label %34 25: ; preds = %17 %26 = load ptr, ptr %2, align 8 %27 = load i32, ptr %3, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = sub nsw i32 %31, -32 %33 = trunc i32 %32 to i8 store i8 %33, ptr %29, align 1 br label %34 34: ; preds = %25, %17, %9 br label %35 35: ; preds = %34 %36 = load i32, ptr %3, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %3, align 4 br label %4, !llvm.loop !6 38: ; preds = %4 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6efkaix0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lower1(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 %4 = load i32, ptr %3, align 4 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = icmp slt i32 %4, %6 br i1 %7, label %.lr.ph, label %41 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %34 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp sge i32 %14, 65 br i1 %15, label %16, label %33 16: ; preds = %8 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %3, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp sle i32 %22, 90 br i1 %23, label %24, label %33 24: ; preds = %16 %25 = load ptr, ptr %2, align 8 %26 = load i32, ptr %3, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = sub nsw i32 %30, -32 %32 = trunc i32 %31 to i8 store i8 %32, ptr %28, align 1 br label %33 33: ; preds = %24, %16, %8 br label %34 34: ; preds = %33 %35 = load i32, ptr %3, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %3, align 4 %37 = load i32, ptr %3, align 4 %38 = load ptr, ptr %2, align 8 %39 = call i32 @strlen(ptr noundef %38) %40 = icmp slt i32 %37, %39 br i1 %40, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %41 41: ; preds = %._crit_edge, %1 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4lcf3keh.c' source_filename = "/tmp/tmp4lcf3keh.c" target datalayout = "e-m:e-p270: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/tmp4lcf3keh.c" target datalayout = "e-m:e-p270: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/tmpmotj61_2.c' source_filename = "/tmp/tmpmotj61_2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"HELP\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"help\00", align 1 @.str.2 = private unnamed_addr constant [130 x i8] c"[MTd]_HELP# MTulioD HELP menu: \0A\09 '-> HELP\09: Show this menu. \0A\09 '-> HOSTNAME\09: Get hostname info.\0A\09 '-> QUIT\09: Close connection.\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"QUIT\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"quit\00", align 1 @.str.5 = private unnamed_addr constant [31 x i8] c"[MTd]_%s# Closing connection.\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"HOSTNAME\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"hostname\00", align 1 @.str.8 = private unnamed_addr constant [37 x i8] c"[MTd]_ERR%% Command [%s] NOT FOUND.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mtd_srv_cmd_parseMessage(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = zext i32 %8 to i64 %10 = call ptr @llvm.stacksave() store ptr %10, ptr %4, align 8 %11 = alloca i8, i64 %9, align 16 store i64 %9, ptr %5, align 8 %12 = load ptr, ptr %3, align 8 %13 = call i32 @mtd_srv_cmd_strTrim(ptr noundef %12, ptr noundef %11) %14 = call i64 @strncmp(ptr noundef %11, ptr noundef @.str, i32 noundef 4) %15 = icmp eq i64 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %1 %17 = call i64 @strncmp(ptr noundef %11, ptr noundef @.str.1, i32 noundef 4) %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %16, %1 %20 = load ptr, ptr %3, align 8 %21 = call i32 @sprintf(ptr noundef %20, ptr noundef @.str.2, ptr noundef %11) br label %45 22: ; preds = %16 %23 = call i64 @strncmp(ptr noundef %11, ptr noundef @.str.3, i32 noundef 4) %24 = icmp eq i64 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %22 %26 = call i64 @strncmp(ptr noundef %11, ptr noundef @.str.4, i32 noundef 4) %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %25, %22 %29 = load ptr, ptr %3, align 8 %30 = call i32 @sprintf(ptr noundef %29, ptr noundef @.str.5, ptr noundef %11) store i32 99, ptr %2, align 4 store i32 1, ptr %6, align 4 br label %46 31: ; preds = %25 %32 = call i64 @strncmp(ptr noundef %11, ptr noundef @.str.6, i32 noundef 8) %33 = icmp eq i64 %32, 0 br i1 %33, label %37, label %34 34: ; preds = %31 %35 = call i64 @strncmp(ptr noundef %11, ptr noundef @.str.7, i32 noundef 8) %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %34, %31 %38 = load ptr, ptr %3, align 8 %39 = call i32 @mtd_server_cmd_run_HOSTNAME(ptr noundef %11, ptr noundef %38) store i32 %39, ptr %2, align 4 store i32 1, ptr %6, align 4 br label %46 40: ; preds = %34 %41 = load ptr, ptr %3, align 8 %42 = call i32 @sprintf(ptr noundef %41, ptr noundef @.str.8, ptr noundef %11) br label %43 43: ; preds = %40 br label %44 44: ; preds = %43 br label %45 45: ; preds = %44, %19 store i32 0, ptr %2, align 4 store i32 1, ptr %6, align 4 br label %46 46: ; preds = %45, %37, %28 %47 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %47) %48 = load i32, ptr %2, align 4 ret i32 %48 } declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @mtd_srv_cmd_strTrim(ptr noundef, ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @mtd_server_cmd_run_HOSTNAME(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmotj61_2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"HELP\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"help\00", align 1 @.str.2 = private unnamed_addr constant [130 x i8] c"[MTd]_HELP# MTulioD HELP menu: \0A\09 '-> HELP\09: Show this menu. \0A\09 '-> HOSTNAME\09: Get hostname info.\0A\09 '-> QUIT\09: Close connection.\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"QUIT\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"quit\00", align 1 @.str.5 = private unnamed_addr constant [31 x i8] c"[MTd]_%s# Closing connection.\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"HOSTNAME\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"hostname\00", align 1 @.str.8 = private unnamed_addr constant [37 x i8] c"[MTd]_ERR%% Command [%s] NOT FOUND.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mtd_srv_cmd_parseMessage(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = zext i32 %8 to i64 %10 = call ptr @llvm.stacksave() store ptr %10, ptr %4, align 8 %11 = alloca i8, i64 %9, align 16 store i64 %9, ptr %5, align 8 %12 = load ptr, ptr %3, align 8 %13 = call i32 @mtd_srv_cmd_strTrim(ptr noundef %12, ptr noundef %11) %14 = call i64 @strncmp(ptr noundef %11, ptr noundef @.str, i32 noundef 4) %15 = icmp eq i64 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %1 %17 = call i64 @strncmp(ptr noundef %11, ptr noundef @.str.1, i32 noundef 4) %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %16, %1 %20 = load ptr, ptr %3, align 8 %21 = call i32 @sprintf(ptr noundef %20, ptr noundef @.str.2, ptr noundef %11) br label %45 22: ; preds = %16 %23 = call i64 @strncmp(ptr noundef %11, ptr noundef @.str.3, i32 noundef 4) %24 = icmp eq i64 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %22 %26 = call i64 @strncmp(ptr noundef %11, ptr noundef @.str.4, i32 noundef 4) %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %25, %22 %29 = load ptr, ptr %3, align 8 %30 = call i32 @sprintf(ptr noundef %29, ptr noundef @.str.5, ptr noundef %11) store i32 99, ptr %2, align 4 store i32 1, ptr %6, align 4 br label %46 31: ; preds = %25 %32 = call i64 @strncmp(ptr noundef %11, ptr noundef @.str.6, i32 noundef 8) %33 = icmp eq i64 %32, 0 br i1 %33, label %37, label %34 34: ; preds = %31 %35 = call i64 @strncmp(ptr noundef %11, ptr noundef @.str.7, i32 noundef 8) %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %34, %31 %38 = load ptr, ptr %3, align 8 %39 = call i32 @mtd_server_cmd_run_HOSTNAME(ptr noundef %11, ptr noundef %38) store i32 %39, ptr %2, align 4 store i32 1, ptr %6, align 4 br label %46 40: ; preds = %34 %41 = load ptr, ptr %3, align 8 %42 = call i32 @sprintf(ptr noundef %41, ptr noundef @.str.8, ptr noundef %11) br label %43 43: ; preds = %40 br label %44 44: ; preds = %43 br label %45 45: ; preds = %44, %19 store i32 0, ptr %2, align 4 store i32 1, ptr %6, align 4 br label %46 46: ; preds = %45, %37, %28 %47 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %47) %48 = load i32, ptr %2, align 4 ret i32 %48 } declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @mtd_srv_cmd_strTrim(ptr noundef, ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @mtd_server_cmd_run_HOSTNAME(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp25w1ry71.c' source_filename = "/tmp/tmp25w1ry71.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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: %s [-is] <publisher> <property-name>\0A\00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c" -i - int property\0A\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c" -s - string property\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp25w1ry71.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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: %s [-is] <publisher> <property-name>\0A\00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c" -i - int property\0A\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c" -s - string property\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppevj98nn.c' source_filename = "/tmp/tmppevj98nn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s/%s/%s-%s\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"server\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"client\00", align 1 @WUNTRACED = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @start_children(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca [100 x i8], align 16 %8 = alloca [100 x i8], align 16 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %12 = call ptr (...) @find_build_path() store ptr %12, ptr %9, align 8 %13 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %14 = load ptr, ptr %9, align 8 %15 = load ptr, ptr %4, align 8 %16 = load ptr, ptr %4, align 8 %17 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef @.str.1) %18 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0 %19 = load ptr, ptr %9, align 8 %20 = load ptr, ptr %4, align 8 %21 = load ptr, ptr %4, align 8 %22 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef @.str.2) %23 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %24 = load i32, ptr %5, align 4 %25 = load ptr, ptr %6, align 8 %26 = call i32 @start_child(ptr noundef %23, i32 noundef %24, ptr noundef %25) store i32 %26, ptr %10, align 4 %27 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0 %28 = load i32, ptr %5, align 4 %29 = load ptr, ptr %6, align 8 %30 = call i32 @start_child(ptr noundef %27, i32 noundef %28, ptr noundef %29) store i32 %30, ptr %11, align 4 %31 = load i32, ptr %10, align 4 %32 = load i32, ptr @WUNTRACED, align 4 %33 = call i32 @waitpid(i32 noundef %31, ptr noundef null, i32 noundef %32) %34 = load i32, ptr %11, align 4 %35 = load i32, ptr @WUNTRACED, align 4 %36 = call i32 @waitpid(i32 noundef %34, ptr noundef null, i32 noundef %35) %37 = load ptr, ptr %9, align 8 %38 = call i32 @free(ptr noundef %37) ret void } declare ptr @find_build_path(...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @start_child(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppevj98nn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s/%s/%s-%s\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"server\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"client\00", align 1 @WUNTRACED = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @start_children(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca [100 x i8], align 16 %8 = alloca [100 x i8], align 16 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %12 = call ptr (...) @find_build_path() store ptr %12, ptr %9, align 8 %13 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %14 = load ptr, ptr %9, align 8 %15 = load ptr, ptr %4, align 8 %16 = load ptr, ptr %4, align 8 %17 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef @.str.1) %18 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0 %19 = load ptr, ptr %9, align 8 %20 = load ptr, ptr %4, align 8 %21 = load ptr, ptr %4, align 8 %22 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef @.str.2) %23 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %24 = load i32, ptr %5, align 4 %25 = load ptr, ptr %6, align 8 %26 = call i32 @start_child(ptr noundef %23, i32 noundef %24, ptr noundef %25) store i32 %26, ptr %10, align 4 %27 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0 %28 = load i32, ptr %5, align 4 %29 = load ptr, ptr %6, align 8 %30 = call i32 @start_child(ptr noundef %27, i32 noundef %28, ptr noundef %29) store i32 %30, ptr %11, align 4 %31 = load i32, ptr %10, align 4 %32 = load i32, ptr @WUNTRACED, align 4 %33 = call i32 @waitpid(i32 noundef %31, ptr noundef null, i32 noundef %32) %34 = load i32, ptr %11, align 4 %35 = load i32, ptr @WUNTRACED, align 4 %36 = call i32 @waitpid(i32 noundef %34, ptr noundef null, i32 noundef %35) %37 = load ptr, ptr %9, align 8 %38 = call i32 @free(ptr noundef %37) ret void } declare ptr @find_build_path(...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @start_child(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfnc4zt0b.c' source_filename = "/tmp/tmpfnc4zt0b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_init_txt(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 = call i32 @string_init(ptr noundef %5) %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @string_set(ptr noundef %7, ptr noundef %8) ret void } declare i32 @string_init(ptr noundef) #1 declare i32 @string_set(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/tmpfnc4zt0b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_init_txt(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 = call i32 @string_init(ptr noundef %5) %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @string_set(ptr noundef %7, ptr noundef %8) ret void } declare i32 @string_init(ptr noundef) #1 declare i32 @string_set(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/tmpzsv1sf2y.c' source_filename = "/tmp/tmpzsv1sf2y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quaddobl_diagonal_homotopy(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %6, align 8 %8 = call i32 @_ada_use_c2phc(i32 noundef 290, ptr noundef %3, ptr noundef %4, ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzsv1sf2y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quaddobl_diagonal_homotopy(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %6, align 8 %8 = call i32 @_ada_use_c2phc(i32 noundef 290, ptr noundef %3, ptr noundef %4, ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpatn4p920.c' source_filename = "/tmp/tmpatn4p920.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @all_moves() #0 { %1 = call i32 @all_moves_base(i32 noundef 0) ret void } declare i32 @all_moves_base(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/tmpatn4p920.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @all_moves() #0 { %1 = call i32 @all_moves_base(i32 noundef 0) ret void } declare i32 @all_moves_base(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/tmpdr5l9aq7.c' source_filename = "/tmp/tmpdr5l9aq7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"1%d%d9\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %6 6: ; preds = %39, %0 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %7, 10 br i1 %8, label %9, label %42 9: ; preds = %6 store i32 0, ptr %3, align 4 br label %10 10: ; preds = %35, %9 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %11, 10 br i1 %12, label %13, label %38 13: ; preds = %10 %14 = load i32, ptr %2, align 4 %15 = mul nsw i32 100, %14 %16 = add nsw i32 1009, %15 %17 = load i32, ptr %3, align 4 %18 = mul nsw i32 10, %17 %19 = add nsw i32 %16, %18 store i32 %19, ptr %4, align 4 %20 = load i32, ptr %3, align 4 %21 = mul nsw i32 100, %20 %22 = add nsw i32 9001, %21 %23 = load i32, ptr %2, align 4 %24 = mul nsw i32 10, %23 %25 = add nsw i32 %22, %24 store i32 %25, ptr %5, align 4 %26 = load i32, ptr %4, align 4 %27 = mul nsw i32 %26, 9 %28 = load i32, ptr %5, align 4 %29 = icmp eq i32 %27, %28 br i1 %29, label %30, label %34 30: ; preds = %13 %31 = load i32, ptr %2, align 4 %32 = load i32, ptr %3, align 4 %33 = call i32 @printf(ptr noundef @.str, i32 noundef %31, i32 noundef %32) br label %34 34: ; preds = %30, %13 br label %35 35: ; preds = %34 %36 = load i32, ptr %3, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %3, align 4 br label %10, !llvm.loop !6 38: ; preds = %10 br label %39 39: ; preds = %38 %40 = load i32, ptr %2, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %2, align 4 br label %6, !llvm.loop !8 42: ; preds = %6 %43 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdr5l9aq7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"1%d%d9\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 10 br i1 %7, label %.lr.ph2, label %44 .lr.ph2: ; preds = %0 br label %8 8: ; preds = %.lr.ph2, %39 store i32 0, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 10 br i1 %10, label %.lr.ph, label %38 .lr.ph: ; preds = %8 br label %11 11: ; preds = %.lr.ph, %33 %12 = load i32, ptr %2, align 4 %13 = mul nsw i32 100, %12 %14 = add nsw i32 1009, %13 %15 = load i32, ptr %3, align 4 %16 = mul nsw i32 10, %15 %17 = add nsw i32 %14, %16 store i32 %17, ptr %4, align 4 %18 = load i32, ptr %3, align 4 %19 = mul nsw i32 100, %18 %20 = add nsw i32 9001, %19 %21 = load i32, ptr %2, align 4 %22 = mul nsw i32 10, %21 %23 = add nsw i32 %20, %22 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %4, align 4 %25 = mul nsw i32 %24, 9 %26 = load i32, ptr %5, align 4 %27 = icmp eq i32 %25, %26 br i1 %27, label %28, label %32 28: ; preds = %11 %29 = load i32, ptr %2, align 4 %30 = load i32, ptr %3, align 4 %31 = call i32 @printf(ptr noundef @.str, i32 noundef %29, i32 noundef %30) br label %32 32: ; preds = %28, %11 br label %33 33: ; preds = %32 %34 = load i32, ptr %3, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %3, align 4 %36 = load i32, ptr %3, align 4 %37 = icmp slt i32 %36, 10 br i1 %37, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %38 38: ; preds = %._crit_edge, %8 br label %39 39: ; preds = %38 %40 = load i32, ptr %2, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %2, align 4 %42 = load i32, ptr %2, align 4 %43 = icmp slt i32 %42, 10 br i1 %43, label %8, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %39 br label %44 44: ; preds = %._crit_edge3, %0 %45 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpm3p9k7se.c' source_filename = "/tmp/tmpm3p9k7se.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @render_string_ex(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 br label %11 11: ; preds = %27, %5 %12 = load ptr, ptr %9, align 8 %13 = load i8, ptr %12, align 1 %14 = icmp ne i8 %13, 0 br i1 %14, label %15, label %30 15: ; preds = %11 %16 = load ptr, ptr %6, align 8 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %8, align 4 %19 = load ptr, ptr %9, align 8 %20 = load i8, ptr %19, align 1 %21 = load i32, ptr %10, align 4 %22 = call i64 @render_char_ex(ptr noundef %16, i32 noundef %17, i32 noundef %18, i8 noundef zeroext %20, i32 noundef %21) %23 = load i32, ptr %7, align 4 %24 = sext i32 %23 to i64 %25 = add nsw i64 %24, %22 %26 = trunc i64 %25 to i32 store i32 %26, ptr %7, align 4 br label %27 27: ; preds = %15 %28 = load ptr, ptr %9, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %9, align 8 br label %11, !llvm.loop !6 30: ; preds = %11 %31 = load i32, ptr %7, align 4 ret i32 %31 } declare i64 @render_char_ex(ptr noundef, i32 noundef, i32 noundef, i8 noundef zeroext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm3p9k7se.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @render_string_ex(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %11 = load ptr, ptr %9, align 8 %12 = load i8, ptr %11, align 1 %13 = icmp ne i8 %12, 0 br i1 %13, label %.lr.ph, label %32 .lr.ph: ; preds = %5 br label %14 14: ; preds = %.lr.ph, %26 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %8, align 4 %18 = load ptr, ptr %9, align 8 %19 = load i8, ptr %18, align 1 %20 = load i32, ptr %10, align 4 %21 = call i64 @render_char_ex(ptr noundef %15, i32 noundef %16, i32 noundef %17, i8 noundef zeroext %19, i32 noundef %20) %22 = load i32, ptr %7, align 4 %23 = sext i32 %22 to i64 %24 = add nsw i64 %23, %21 %25 = trunc i64 %24 to i32 store i32 %25, ptr %7, align 4 br label %26 26: ; preds = %14 %27 = load ptr, ptr %9, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %9, align 8 %29 = load ptr, ptr %9, align 8 %30 = load i8, ptr %29, align 1 %31 = icmp ne i8 %30, 0 br i1 %31, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %5 %33 = load i32, ptr %7, align 4 ret i32 %33 } declare i64 @render_char_ex(ptr noundef, i32 noundef, i32 noundef, i8 noundef zeroext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpm3jij3f2.c' source_filename = "/tmp/tmpm3jij3f2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [14 x i8] c"KRONROD_PRB:\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c" C + F77 version.\0A\00", align 1 @.str.3 = private unnamed_addr constant [58 x i8] c" The main program is in C, the library is in FORTRAN77.\0A\00", align 1 @.str.4 = private unnamed_addr constant [68 x i8] c" This is an example of how a C program calls a FORTRAN77 routine.\0A\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c" Normal end of execution.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @timestamp_() %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @printf(ptr noundef @.str.2) %6 = call i32 @printf(ptr noundef @.str.3) %7 = call i32 @printf(ptr noundef @.str.4) %8 = call i32 (...) @test01() %9 = call i32 (...) @test02() %10 = call i32 @printf(ptr noundef @.str) %11 = call i32 @printf(ptr noundef @.str.1) %12 = call i32 @printf(ptr noundef @.str.5) %13 = call i32 @printf(ptr noundef @.str) %14 = call i32 (...) @timestamp_() ret i32 0 } declare i32 @timestamp_(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @test01(...) #1 declare i32 @test02(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm3jij3f2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [14 x i8] c"KRONROD_PRB:\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c" C + F77 version.\0A\00", align 1 @.str.3 = private unnamed_addr constant [58 x i8] c" The main program is in C, the library is in FORTRAN77.\0A\00", align 1 @.str.4 = private unnamed_addr constant [68 x i8] c" This is an example of how a C program calls a FORTRAN77 routine.\0A\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c" Normal end of execution.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @timestamp_() %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @printf(ptr noundef @.str.2) %6 = call i32 @printf(ptr noundef @.str.3) %7 = call i32 @printf(ptr noundef @.str.4) %8 = call i32 (...) @test01() %9 = call i32 (...) @test02() %10 = call i32 @printf(ptr noundef @.str) %11 = call i32 @printf(ptr noundef @.str.1) %12 = call i32 @printf(ptr noundef @.str.5) %13 = call i32 @printf(ptr noundef @.str) %14 = call i32 (...) @timestamp_() ret i32 0 } declare i32 @timestamp_(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @test01(...) #1 declare i32 @test02(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6nuld51i.c' source_filename = "/tmp/tmp6nuld51i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hola Makefiles\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @miImpresionHolaMake() #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/tmp6nuld51i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hola Makefiles\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @miImpresionHolaMake() #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/tmppi5ze15i.c' source_filename = "/tmp/tmppi5ze15i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i8, align 1 %3 = alloca i8, align 1 %4 = alloca i8, align 1 %5 = alloca i8, align 1 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i8 -1, ptr %2, align 1 store i8 -121, ptr %3, align 1 store i8 111, ptr %4, align 1 store i8 100, ptr %5, align 1 store i32 0, ptr %6, align 4 %7 = load i8, ptr %2, align 1 %8 = load i8, ptr %3, align 1 %9 = load i8, ptr %4, align 1 %10 = load i8, ptr %5, align 1 %11 = call i32 @pack(i8 noundef zeroext %7, i8 noundef zeroext %8, i8 noundef zeroext %9, i8 noundef zeroext %10) store i32 %11, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = call i32 @unpackWithShift(i32 noundef %12) %14 = load i32, ptr %6, align 4 %15 = call i32 @unpackWithMask(i32 noundef %14) ret i32 0 } declare i32 @pack(i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1 declare i32 @unpackWithShift(i32 noundef) #1 declare i32 @unpackWithMask(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/tmppi5ze15i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i8, align 1 %3 = alloca i8, align 1 %4 = alloca i8, align 1 %5 = alloca i8, align 1 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i8 -1, ptr %2, align 1 store i8 -121, ptr %3, align 1 store i8 111, ptr %4, align 1 store i8 100, ptr %5, align 1 store i32 0, ptr %6, align 4 %7 = load i8, ptr %2, align 1 %8 = load i8, ptr %3, align 1 %9 = load i8, ptr %4, align 1 %10 = load i8, ptr %5, align 1 %11 = call i32 @pack(i8 noundef zeroext %7, i8 noundef zeroext %8, i8 noundef zeroext %9, i8 noundef zeroext %10) store i32 %11, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = call i32 @unpackWithShift(i32 noundef %12) %14 = load i32, ptr %6, align 4 %15 = call i32 @unpackWithMask(i32 noundef %14) ret i32 0 } declare i32 @pack(i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1 declare i32 @unpackWithShift(i32 noundef) #1 declare i32 @unpackWithMask(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/tmp24b8f0mt.c' source_filename = "/tmp/tmp24b8f0mt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @caml_gr_remember_mode() #0 { %1 = call i32 @exit(i32 noundef 1) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(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 = { 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/tmp24b8f0mt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @caml_gr_remember_mode() #0 { %1 = call i32 @exit(i32 noundef 1) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(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 = { 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/tmph0iexf12.c' source_filename = "/tmp/tmph0iexf12.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"drive.dat\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"Ya existe una unidad en esta ubicaci\C3\B3n\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"Unidad creada exitosamente\0A %sdrive.dat\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"Error al intentar crear la unidad\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @newraid(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [256 x i8], align 16 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp sge i32 %9, 2 br i1 %10, label %11, label %43 11: ; preds = %2 %12 = load i32, ptr %5, align 4 %13 = icmp sle i32 %12, 10 br i1 %13, label %14, label %43 14: ; preds = %11 %15 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %16 = load ptr, ptr %4, align 8 %17 = call i32 @strcpy(ptr noundef %15, ptr noundef %16) %18 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %19 = call i32 @strcat(ptr noundef %18, ptr noundef @.str) %20 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %21 = call i64 @fileExist(ptr noundef %20) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %14 %24 = call i32 @perror(ptr noundef @.str.1) store i32 0, ptr %3, align 4 br label %44 25: ; preds = %14 %26 = load i32, ptr %5, align 4 %27 = mul nsw i32 %26, 1024 %28 = mul nsw i32 %27, 1024 %29 = sext i32 %28 to i64 store i64 %29, ptr %7, align 8 %30 = load i64, ptr %7, align 8 %31 = udiv i64 %30, 128 store i64 %31, ptr %8, align 8 %32 = load ptr, ptr %4, align 8 %33 = load i64, ptr %8, align 8 %34 = call i64 @createDisk(ptr noundef %32, i64 noundef %33) %35 = icmp ne i64 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %25 %37 = load ptr, ptr %4, align 8 %38 = call i32 @printf(ptr noundef @.str.2, ptr noundef %37) br label %41 39: ; preds = %25 %40 = call i32 @perror(ptr noundef @.str.3) br label %41 41: ; preds = %39, %36 br label %42 42: ; preds = %41 br label %44 43: ; preds = %11, %2 store i32 0, ptr %3, align 4 br label %44 44: ; preds = %23, %43, %42 %45 = load i32, ptr %3, align 4 ret i32 %45 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i64 @fileExist(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @createDisk(ptr noundef, i64 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/tmph0iexf12.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"drive.dat\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"Ya existe una unidad en esta ubicaci\C3\B3n\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"Unidad creada exitosamente\0A %sdrive.dat\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"Error al intentar crear la unidad\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @newraid(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [256 x i8], align 16 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp sge i32 %9, 2 br i1 %10, label %11, label %43 11: ; preds = %2 %12 = load i32, ptr %5, align 4 %13 = icmp sle i32 %12, 10 br i1 %13, label %14, label %43 14: ; preds = %11 %15 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %16 = load ptr, ptr %4, align 8 %17 = call i32 @strcpy(ptr noundef %15, ptr noundef %16) %18 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %19 = call i32 @strcat(ptr noundef %18, ptr noundef @.str) %20 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %21 = call i64 @fileExist(ptr noundef %20) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %14 %24 = call i32 @perror(ptr noundef @.str.1) store i32 0, ptr %3, align 4 br label %44 25: ; preds = %14 %26 = load i32, ptr %5, align 4 %27 = mul nsw i32 %26, 1024 %28 = mul nsw i32 %27, 1024 %29 = sext i32 %28 to i64 store i64 %29, ptr %7, align 8 %30 = load i64, ptr %7, align 8 %31 = udiv i64 %30, 128 store i64 %31, ptr %8, align 8 %32 = load ptr, ptr %4, align 8 %33 = load i64, ptr %8, align 8 %34 = call i64 @createDisk(ptr noundef %32, i64 noundef %33) %35 = icmp ne i64 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %25 %37 = load ptr, ptr %4, align 8 %38 = call i32 @printf(ptr noundef @.str.2, ptr noundef %37) br label %41 39: ; preds = %25 %40 = call i32 @perror(ptr noundef @.str.3) br label %41 41: ; preds = %39, %36 br label %42 42: ; preds = %41 br label %44 43: ; preds = %11, %2 store i32 0, ptr %3, align 4 br label %44 44: ; preds = %43, %42, %23 %45 = load i32, ptr %3, align 4 ret i32 %45 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i64 @fileExist(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @createDisk(ptr noundef, i64 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/tmpoary0al2.c' source_filename = "/tmp/tmpoary0al2.c" target datalayout = "e-m:e-p270: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/tmpoary0al2.c" target datalayout = "e-m:e-p270: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/tmpaewk8nne.c' source_filename = "/tmp/tmpaewk8nne.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 60534384, ptr %2, align 4 store i32 35717371, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr %3, align 4 %6 = call i32 @gcd(i32 noundef %4, i32 noundef %5) ret i32 0 } declare i32 @gcd(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/tmpaewk8nne.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 60534384, ptr %2, align 4 store i32 35717371, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr %3, align 4 %6 = call i32 @gcd(i32 noundef %4, i32 noundef %5) ret i32 0 } declare i32 @gcd(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/tmpzab4_orm.c' source_filename = "/tmp/tmpzab4_orm.c" target datalayout = "e-m:e-p270: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/tmpzab4_orm.c" target datalayout = "e-m:e-p270: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/tmp1k6i0fj5.c' source_filename = "/tmp/tmp1k6i0fj5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @a() ret i32 0 } declare i32 @a(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1k6i0fj5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @a() ret i32 0 } declare i32 @a(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8c7utz55.c' source_filename = "/tmp/tmp8c7utz55.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @setv(i32 noundef 3, ptr noundef %2, ptr noundef %3, ptr noundef %4) %6 = load i32, ptr %2, align 4 %7 = icmp eq i32 %6, 13 %8 = zext i1 %7 to i32 %9 = call i32 @test_assert(i32 noundef %8) ret i32 0 } declare i32 @setv(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @test_assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8c7utz55.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @setv(i32 noundef 3, ptr noundef %2, ptr noundef %3, ptr noundef %4) %6 = load i32, ptr %2, align 4 %7 = icmp eq i32 %6, 13 %8 = zext i1 %7 to i32 %9 = call i32 @test_assert(i32 noundef %8) ret i32 0 } declare i32 @setv(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @test_assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz46whn2m.c' source_filename = "/tmp/tmpz46whn2m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @keyGen(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 br label %4 4: ; preds = %15, %1 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 8 br i1 %6, label %7, label %18 7: ; preds = %4 %8 = call i32 (...) @rand() %9 = srem i32 %8, 255 %10 = trunc i32 %9 to i8 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 store i8 %10, ptr %14, align 1 br label %15 15: ; preds = %7 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 br label %4, !llvm.loop !6 18: ; preds = %4 ret void } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz46whn2m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @keyGen(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 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 8 br i1 %5, label %.lr.ph, label %19 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %14 %7 = call i32 (...) @rand() %8 = srem i32 %7, 255 %9 = trunc i32 %8 to i8 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 store i8 %9, ptr %13, align 1 br label %14 14: ; preds = %6 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp slt i32 %17, 8 br i1 %18, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %1 ret void } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpfrw00pir.c' source_filename = "/tmp/tmpfrw00pir.c" target datalayout = "e-m:e-p270: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/tmpfrw00pir.c" target datalayout = "e-m:e-p270: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/tmpp3vlxbio.c' source_filename = "/tmp/tmpp3vlxbio.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Pointer Dereference Example 1\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"ptr1 = %d count = %d\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"ptr1 = %d num = %d\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"ptr2 = %2.2lf total = %2.2lf\0A\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 double, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 store i32 20, ptr %3, align 4 store double 5.056000e+01, ptr %4, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) store ptr %2, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %8, align 4 %10 = load i32, ptr %2, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %9, i32 noundef %10) store ptr %3, ptr %5, align 8 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %12, align 4 %14 = load i32, ptr %3, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13, i32 noundef %14) store ptr %4, ptr %6, align 8 %16 = load ptr, ptr %6, align 8 %17 = load double, ptr %16, align 8 %18 = load double, ptr %4, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %17, double noundef %18) 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/tmpp3vlxbio.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Pointer Dereference Example 1\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"ptr1 = %d count = %d\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"ptr1 = %d num = %d\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"ptr2 = %2.2lf total = %2.2lf\0A\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 double, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 store i32 20, ptr %3, align 4 store double 5.056000e+01, ptr %4, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) store ptr %2, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %8, align 4 %10 = load i32, ptr %2, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %9, i32 noundef %10) store ptr %3, ptr %5, align 8 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %12, align 4 %14 = load i32, ptr %3, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13, i32 noundef %14) store ptr %4, ptr %6, align 8 %16 = load ptr, ptr %6, align 8 %17 = load double, ptr %16, align 8 %18 = load double, ptr %4, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %17, double noundef %18) 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/tmphzo7aiex.c' source_filename = "/tmp/tmphzo7aiex.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @msgu_binary_cmp(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %12 = load i64, ptr %8, align 8 %13 = load i64, ptr %9, align 8 %14 = icmp ult i64 %12, %13 br i1 %14, label %15, label %17 15: ; preds = %4 %16 = load i64, ptr %8, align 8 br label %19 17: ; preds = %4 %18 = load i64, ptr %9, align 8 br label %19 19: ; preds = %17, %15 %20 = phi i64 [ %16, %15 ], [ %18, %17 ] %21 = trunc i64 %20 to i32 store i32 %21, ptr %10, align 4 %22 = load ptr, ptr %6, align 8 %23 = load ptr, ptr %7, align 8 %24 = load i32, ptr %10, align 4 %25 = call i32 @memcmp(ptr noundef %22, ptr noundef %23, i32 noundef %24) store i32 %25, ptr %11, align 4 %26 = load i32, ptr %11, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %19 %29 = load i32, ptr %11, align 4 store i32 %29, ptr %5, align 4 br label %35 30: ; preds = %19 %31 = load i64, ptr %8, align 8 %32 = load i64, ptr %9, align 8 %33 = sub i64 %31, %32 %34 = trunc i64 %33 to i32 store i32 %34, ptr %5, align 4 br label %35 35: ; preds = %30, %28 %36 = load i32, ptr %5, align 4 ret i32 %36 } declare i32 @memcmp(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/tmphzo7aiex.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @msgu_binary_cmp(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %12 = load i64, ptr %8, align 8 %13 = load i64, ptr %9, align 8 %14 = icmp ult i64 %12, %13 br i1 %14, label %15, label %17 15: ; preds = %4 %16 = load i64, ptr %8, align 8 br label %19 17: ; preds = %4 %18 = load i64, ptr %9, align 8 br label %19 19: ; preds = %17, %15 %20 = phi i64 [ %16, %15 ], [ %18, %17 ] %21 = trunc i64 %20 to i32 store i32 %21, ptr %10, align 4 %22 = load ptr, ptr %6, align 8 %23 = load ptr, ptr %7, align 8 %24 = load i32, ptr %10, align 4 %25 = call i32 @memcmp(ptr noundef %22, ptr noundef %23, i32 noundef %24) store i32 %25, ptr %11, align 4 %26 = load i32, ptr %11, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %19 %29 = load i32, ptr %11, align 4 store i32 %29, ptr %5, align 4 br label %35 30: ; preds = %19 %31 = load i64, ptr %8, align 8 %32 = load i64, ptr %9, align 8 %33 = sub i64 %31, %32 %34 = trunc i64 %33 to i32 store i32 %34, ptr %5, align 4 br label %35 35: ; preds = %30, %28 %36 = load i32, ptr %5, align 4 ret i32 %36 } declare i32 @memcmp(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/tmpb98jycco.c' source_filename = "/tmp/tmpb98jycco.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zero_test(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 br label %6 6: ; preds = %16, %2 %7 = load i64, ptr %5, align 8 %8 = add i64 %7, -1 store i64 %8, ptr %5, align 8 %9 = icmp ugt i64 %7, 0 br i1 %9, label %10, label %17 10: ; preds = %6 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds i32, ptr %11, i32 1 store ptr %12, ptr %4, align 8 %13 = load i32, ptr %11, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %10 store i32 0, ptr %3, align 4 br label %18 16: ; preds = %10 br label %6, !llvm.loop !6 17: ; preds = %6 store i32 1, ptr %3, align 4 br label %18 18: ; preds = %17, %15 %19 = load i32, ptr %3, align 4 ret i32 %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb98jycco.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zero_test(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %6 = load i64, ptr %5, align 8 %7 = add i64 %6, -1 store i64 %7, ptr %5, align 8 %8 = icmp ugt i64 %6, 0 br i1 %8, label %.lr.ph, label %19 .lr.ph: ; preds = %2 br label %13 9: ; preds = %13 %10 = load i64, ptr %5, align 8 %11 = add i64 %10, -1 store i64 %11, ptr %5, align 8 %12 = icmp ugt i64 %10, 0 br i1 %12, label %13, label %._crit_edge, !llvm.loop !6 13: ; preds = %.lr.ph, %9 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds i32, ptr %14, i32 1 store ptr %15, ptr %4, align 8 %16 = load i32, ptr %14, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %9 18: ; preds = %13 store i32 0, ptr %3, align 4 br label %20 ._crit_edge: ; preds = %9 br label %19 19: ; preds = %._crit_edge, %2 store i32 1, ptr %3, align 4 br label %20 20: ; preds = %19, %18 %21 = load i32, ptr %3, align 4 ret i32 %21 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp7l8jbjju.c' source_filename = "/tmp/tmp7l8jbjju.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"cat /proc/%d/statm\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"When process starts:\0A\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"Press return to start mmap of %d MB\0A\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_ANONYMOUS = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [83 x i8] c"mmap() done @ VA %p. Total Program size should have increased by %d pages by now.\0A\00", align 1 @.str.4 = private unnamed_addr constant [42 x i8] c"Press enter/return to write to each page\0A\00", align 1 @.str.5 = private unnamed_addr constant [89 x i8] c"Dirtied %d pages. Resident Pages and Shared pages should have increased by %d pages now.\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"Press enter/return to exit:\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 i8], align 16 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 25600, ptr %3, align 4 %6 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %7 = call i32 (...) @getpid() %8 = call i32 @snprintf(ptr noundef %6, i32 noundef 100, ptr noundef @.str, i32 noundef %7) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %10 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %11 = call i32 @system(ptr noundef %10) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 100) %13 = call i32 (...) @getchar() %14 = load i32, ptr @PROT_READ, align 4 %15 = load i32, ptr @PROT_WRITE, align 4 %16 = or i32 %14, %15 %17 = load i32, ptr @MAP_ANONYMOUS, align 4 %18 = load i32, ptr @MAP_SHARED, align 4 %19 = or i32 %17, %18 %20 = call ptr @mmap(ptr noundef null, i32 noundef 104857600, i32 noundef %16, i32 noundef %19, i32 noundef -1, i32 noundef 0) store ptr %20, ptr %5, align 8 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %3, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %21, i32 noundef %22) %24 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %25 = call i32 @system(ptr noundef %24) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %27 = call i32 (...) @getchar() store i32 0, ptr %2, align 4 br label %28 28: ; preds = %38, %0 %29 = load i32, ptr %2, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %32, label %41 32: ; preds = %28 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %2, align 4 %35 = mul nsw i32 %34, 4096 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %33, i64 %36 store i8 1, ptr %37, align 1 br label %38 38: ; preds = %32 %39 = load i32, ptr %2, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %2, align 4 br label %28, !llvm.loop !6 41: ; preds = %28 %42 = load i32, ptr %3, align 4 %43 = load i32, ptr %3, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %42, i32 noundef %43) %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %46 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %47 = call i32 @system(ptr noundef %46) %48 = call i32 (...) @getchar() ret i32 0 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @system(ptr noundef) #1 declare i32 @getchar(...) #1 declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7l8jbjju.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"cat /proc/%d/statm\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"When process starts:\0A\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"Press return to start mmap of %d MB\0A\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_ANONYMOUS = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [83 x i8] c"mmap() done @ VA %p. Total Program size should have increased by %d pages by now.\0A\00", align 1 @.str.4 = private unnamed_addr constant [42 x i8] c"Press enter/return to write to each page\0A\00", align 1 @.str.5 = private unnamed_addr constant [89 x i8] c"Dirtied %d pages. Resident Pages and Shared pages should have increased by %d pages now.\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"Press enter/return to exit:\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 i8], align 16 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 25600, ptr %3, align 4 %6 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %7 = call i32 (...) @getpid() %8 = call i32 @snprintf(ptr noundef %6, i32 noundef 100, ptr noundef @.str, i32 noundef %7) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %10 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %11 = call i32 @system(ptr noundef %10) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 100) %13 = call i32 (...) @getchar() %14 = load i32, ptr @PROT_READ, align 4 %15 = load i32, ptr @PROT_WRITE, align 4 %16 = or i32 %14, %15 %17 = load i32, ptr @MAP_ANONYMOUS, align 4 %18 = load i32, ptr @MAP_SHARED, align 4 %19 = or i32 %17, %18 %20 = call ptr @mmap(ptr noundef null, i32 noundef 104857600, i32 noundef %16, i32 noundef %19, i32 noundef -1, i32 noundef 0) store ptr %20, ptr %5, align 8 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %3, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %21, i32 noundef %22) %24 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %25 = call i32 @system(ptr noundef %24) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %27 = call i32 (...) @getchar() store i32 0, ptr %2, align 4 %28 = load i32, ptr %2, align 4 %29 = load i32, ptr %3, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %.lr.ph, label %43 .lr.ph: ; preds = %0 br label %31 31: ; preds = %.lr.ph, %37 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %2, align 4 %34 = mul nsw i32 %33, 4096 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %32, i64 %35 store i8 1, ptr %36, align 1 br label %37 37: ; preds = %31 %38 = load i32, ptr %2, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %2, align 4 %40 = load i32, ptr %2, align 4 %41 = load i32, ptr %3, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %31, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %43 43: ; preds = %._crit_edge, %0 %44 = load i32, ptr %3, align 4 %45 = load i32, ptr %3, align 4 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %44, i32 noundef %45) %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %48 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %49 = call i32 @system(ptr noundef %48) %50 = call i32 (...) @getchar() ret i32 0 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @system(ptr noundef) #1 declare i32 @getchar(...) #1 declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbuo1z1_p.c' source_filename = "/tmp/tmpbuo1z1_p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Average = %.2f\0A\00", align 1 @__const.main.gradeBookLiteral = private unnamed_addr constant [3 x float] [float 0x404E1999A0000000, float 9.450000e+01, float 0x4054466660000000], align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca float, align 4 %8 = alloca [3 x float], align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call ptr @malloc(i32 noundef 12) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = getelementptr inbounds float, ptr %10, i64 0 store float 0x404E1999A0000000, ptr %11, align 4 %12 = load ptr, ptr %6, align 8 %13 = getelementptr inbounds float, ptr %12, i64 1 store float 9.450000e+01, ptr %13, align 4 %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds float, ptr %14, i64 2 store float 0x4054466660000000, ptr %15, align 4 %16 = load ptr, ptr %6, align 8 %17 = call float @averageFloats(ptr noundef %16, i32 noundef 3) store float %17, ptr %7, align 4 %18 = load ptr, ptr %6, align 8 %19 = call i32 @free(ptr noundef %18) store ptr null, ptr %6, align 8 %20 = load float, ptr %7, align 4 %21 = call i32 @printf(ptr noundef @.str, float noundef %20) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 @__const.main.gradeBookLiteral, i64 12, i1 false) %22 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 0 %23 = call float @averageFloats(ptr noundef %22, i32 noundef 3) store float %23, ptr %7, align 4 %24 = load float, ptr %7, align 4 %25 = call i32 @printf(ptr noundef @.str, float noundef %24) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare float @averageFloats(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbuo1z1_p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Average = %.2f\0A\00", align 1 @__const.main.gradeBookLiteral = private unnamed_addr constant [3 x float] [float 0x404E1999A0000000, float 9.450000e+01, float 0x4054466660000000], align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca float, align 4 %8 = alloca [3 x float], align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call ptr @malloc(i32 noundef 12) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = getelementptr inbounds float, ptr %10, i64 0 store float 0x404E1999A0000000, ptr %11, align 4 %12 = load ptr, ptr %6, align 8 %13 = getelementptr inbounds float, ptr %12, i64 1 store float 9.450000e+01, ptr %13, align 4 %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds float, ptr %14, i64 2 store float 0x4054466660000000, ptr %15, align 4 %16 = load ptr, ptr %6, align 8 %17 = call float @averageFloats(ptr noundef %16, i32 noundef 3) store float %17, ptr %7, align 4 %18 = load ptr, ptr %6, align 8 %19 = call i32 @free(ptr noundef %18) store ptr null, ptr %6, align 8 %20 = load float, ptr %7, align 4 %21 = call i32 @printf(ptr noundef @.str, float noundef %20) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 @__const.main.gradeBookLiteral, i64 12, i1 false) %22 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 0 %23 = call float @averageFloats(ptr noundef %22, i32 noundef 3) store float %23, ptr %7, align 4 %24 = load float, ptr %7, align 4 %25 = call i32 @printf(ptr noundef @.str, float noundef %24) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare float @averageFloats(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi11x4vfq.c' source_filename = "/tmp/tmpi11x4vfq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [5 x i8] c"### \00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%s: \00", align 1 @ERANGE = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [64 x i8] c"String cannot be converted to (long) unsigned integer in %s %s\0A\00", align 1 @LONG_MAX = dso_local global i64 0, align 8 @LONG_MIN = dso_local global i64 0, align 8 @.str.3 = private unnamed_addr constant [40 x i8] c"Number is too big (overflows) in %s %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [34 x i8] c"Cannot read number in %s %s (%s)\0A\00", align 1 @.str.5 = private unnamed_addr constant [45 x i8] c"Argument to %s should be a number, in %s %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [54 x i8] c"Unexpected characters ('%s') after the %.*s in %s %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @unsigned_value(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store i64 0, ptr @errno, align 8 %14 = load ptr, ptr %9, align 8 %15 = load i32, ptr %10, align 4 %16 = call i64 @strtoul(ptr noundef %14, ptr noundef %12, i32 noundef %15) store i64 %16, ptr %13, align 8 %17 = load i64, ptr @errno, align 8 %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %61 19: ; preds = %5 %20 = call i32 @print_err(ptr noundef @.str) %21 = load ptr, ptr %7, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %23, label %26 23: ; preds = %19 %24 = load ptr, ptr %7, align 8 %25 = call i32 (ptr, ptr, ...) @fprint_err(ptr noundef @.str.1, ptr noundef %24) br label %26 26: ; preds = %23, %19 %27 = load i64, ptr @errno, align 8 %28 = load i64, ptr @ERANGE, align 8 %29 = icmp eq i64 %27, %28 br i1 %29, label %30, label %37 30: ; preds = %26 %31 = load i64, ptr %13, align 8 %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %37 33: ; preds = %30 %34 = load ptr, ptr %8, align 8 %35 = load ptr, ptr %9, align 8 %36 = call i32 (ptr, ptr, ...) @fprint_err(ptr noundef @.str.2, ptr noundef %34, ptr noundef %35) br label %60 37: ; preds = %30, %26 %38 = load i64, ptr @errno, align 8 %39 = load i64, ptr @ERANGE, align 8 %40 = icmp eq i64 %38, %39 br i1 %40, label %41, label %53 41: ; preds = %37 %42 = load i64, ptr %13, align 8 %43 = load i64, ptr @LONG_MAX, align 8 %44 = icmp eq i64 %42, %43 br i1 %44, label %49, label %45 45: ; preds = %41 %46 = load i64, ptr %13, align 8 %47 = load i64, ptr @LONG_MIN, align 8 %48 = icmp eq i64 %46, %47 br i1 %48, label %49, label %53 49: ; preds = %45, %41 %50 = load ptr, ptr %8, align 8 %51 = load ptr, ptr %9, align 8 %52 = call i32 (ptr, ptr, ...) @fprint_err(ptr noundef @.str.3, ptr noundef %50, ptr noundef %51) br label %59 53: ; preds = %45, %37 %54 = load ptr, ptr %8, align 8 %55 = load ptr, ptr %9, align 8 %56 = load i64, ptr @errno, align 8 %57 = call i32 @strerror(i64 noundef %56) %58 = call i32 (ptr, ptr, ...) @fprint_err(ptr noundef @.str.4, ptr noundef %54, ptr noundef %55, i32 noundef %57) br label %59 59: ; preds = %53, %49 br label %60 60: ; preds = %59, %33 store i32 1, ptr %6, align 4 br label %102 61: ; preds = %5 %62 = load ptr, ptr %12, align 8 %63 = getelementptr inbounds i8, ptr %62, i64 0 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = icmp ne i32 %65, 0 br i1 %66, label %67, label %99 67: ; preds = %61 %68 = call i32 @print_err(ptr noundef @.str) %69 = load ptr, ptr %7, align 8 %70 = icmp ne ptr %69, null br i1 %70, label %71, label %74 71: ; preds = %67 %72 = load ptr, ptr %7, align 8 %73 = call i32 (ptr, ptr, ...) @fprint_err(ptr noundef @.str.1, ptr noundef %72) br label %74 74: ; preds = %71, %67 %75 = load ptr, ptr %12, align 8 %76 = load ptr, ptr %9, align 8 %77 = ptrtoint ptr %75 to i64 %78 = ptrtoint ptr %76 to i64 %79 = sub i64 %77, %78 %80 = icmp eq i64 %79, 0 br i1 %80, label %81, label %86 81: ; preds = %74 %82 = load ptr, ptr %8, align 8 %83 = load ptr, ptr %8, align 8 %84 = load ptr, ptr %9, align 8 %85 = call i32 (ptr, ptr, ...) @fprint_err(ptr noundef @.str.5, ptr noundef %82, ptr noundef %83, ptr noundef %84) br label %98 86: ; preds = %74 %87 = load ptr, ptr %12, align 8 %88 = load ptr, ptr %12, align 8 %89 = load ptr, ptr %9, align 8 %90 = ptrtoint ptr %88 to i64 %91 = ptrtoint ptr %89 to i64 %92 = sub i64 %90, %91 %93 = trunc i64 %92 to i32 %94 = load ptr, ptr %9, align 8 %95 = load ptr, ptr %8, align 8 %96 = load ptr, ptr %9, align 8 %97 = call i32 (ptr, ptr, ...) @fprint_err(ptr noundef @.str.6, ptr noundef %87, i32 noundef %93, ptr noundef %94, ptr noundef %95, ptr noundef %96) br label %98 98: ; preds = %86, %81 store i32 1, ptr %6, align 4 br label %102 99: ; preds = %61 %100 = load i64, ptr %13, align 8 %101 = load ptr, ptr %11, align 8 store i64 %100, ptr %101, align 8 store i32 0, ptr %6, align 4 br label %102 102: ; preds = %99, %98, %60 %103 = load i32, ptr %6, align 4 ret i32 %103 } declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @print_err(ptr noundef) #1 declare i32 @fprint_err(ptr noundef, ptr noundef, ...) #1 declare i32 @strerror(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/tmpi11x4vfq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [5 x i8] c"### \00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%s: \00", align 1 @ERANGE = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [64 x i8] c"String cannot be converted to (long) unsigned integer in %s %s\0A\00", align 1 @LONG_MAX = dso_local global i64 0, align 8 @LONG_MIN = dso_local global i64 0, align 8 @.str.3 = private unnamed_addr constant [40 x i8] c"Number is too big (overflows) in %s %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [34 x i8] c"Cannot read number in %s %s (%s)\0A\00", align 1 @.str.5 = private unnamed_addr constant [45 x i8] c"Argument to %s should be a number, in %s %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [54 x i8] c"Unexpected characters ('%s') after the %.*s in %s %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @unsigned_value(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store i64 0, ptr @errno, align 8 %14 = load ptr, ptr %9, align 8 %15 = load i32, ptr %10, align 4 %16 = call i64 @strtoul(ptr noundef %14, ptr noundef %12, i32 noundef %15) store i64 %16, ptr %13, align 8 %17 = load i64, ptr @errno, align 8 %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %61 19: ; preds = %5 %20 = call i32 @print_err(ptr noundef @.str) %21 = load ptr, ptr %7, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %23, label %26 23: ; preds = %19 %24 = load ptr, ptr %7, align 8 %25 = call i32 (ptr, ptr, ...) @fprint_err(ptr noundef @.str.1, ptr noundef %24) br label %26 26: ; preds = %23, %19 %27 = load i64, ptr @errno, align 8 %28 = load i64, ptr @ERANGE, align 8 %29 = icmp eq i64 %27, %28 br i1 %29, label %30, label %37 30: ; preds = %26 %31 = load i64, ptr %13, align 8 %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %37 33: ; preds = %30 %34 = load ptr, ptr %8, align 8 %35 = load ptr, ptr %9, align 8 %36 = call i32 (ptr, ptr, ...) @fprint_err(ptr noundef @.str.2, ptr noundef %34, ptr noundef %35) br label %60 37: ; preds = %30, %26 %38 = load i64, ptr @errno, align 8 %39 = load i64, ptr @ERANGE, align 8 %40 = icmp eq i64 %38, %39 br i1 %40, label %41, label %53 41: ; preds = %37 %42 = load i64, ptr %13, align 8 %43 = load i64, ptr @LONG_MAX, align 8 %44 = icmp eq i64 %42, %43 br i1 %44, label %49, label %45 45: ; preds = %41 %46 = load i64, ptr %13, align 8 %47 = load i64, ptr @LONG_MIN, align 8 %48 = icmp eq i64 %46, %47 br i1 %48, label %49, label %53 49: ; preds = %45, %41 %50 = load ptr, ptr %8, align 8 %51 = load ptr, ptr %9, align 8 %52 = call i32 (ptr, ptr, ...) @fprint_err(ptr noundef @.str.3, ptr noundef %50, ptr noundef %51) br label %59 53: ; preds = %45, %37 %54 = load ptr, ptr %8, align 8 %55 = load ptr, ptr %9, align 8 %56 = load i64, ptr @errno, align 8 %57 = call i32 @strerror(i64 noundef %56) %58 = call i32 (ptr, ptr, ...) @fprint_err(ptr noundef @.str.4, ptr noundef %54, ptr noundef %55, i32 noundef %57) br label %59 59: ; preds = %53, %49 br label %60 60: ; preds = %59, %33 store i32 1, ptr %6, align 4 br label %102 61: ; preds = %5 %62 = load ptr, ptr %12, align 8 %63 = getelementptr inbounds i8, ptr %62, i64 0 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = icmp ne i32 %65, 0 br i1 %66, label %67, label %99 67: ; preds = %61 %68 = call i32 @print_err(ptr noundef @.str) %69 = load ptr, ptr %7, align 8 %70 = icmp ne ptr %69, null br i1 %70, label %71, label %74 71: ; preds = %67 %72 = load ptr, ptr %7, align 8 %73 = call i32 (ptr, ptr, ...) @fprint_err(ptr noundef @.str.1, ptr noundef %72) br label %74 74: ; preds = %71, %67 %75 = load ptr, ptr %12, align 8 %76 = load ptr, ptr %9, align 8 %77 = ptrtoint ptr %75 to i64 %78 = ptrtoint ptr %76 to i64 %79 = sub i64 %77, %78 %80 = icmp eq i64 %79, 0 br i1 %80, label %81, label %86 81: ; preds = %74 %82 = load ptr, ptr %8, align 8 %83 = load ptr, ptr %8, align 8 %84 = load ptr, ptr %9, align 8 %85 = call i32 (ptr, ptr, ...) @fprint_err(ptr noundef @.str.5, ptr noundef %82, ptr noundef %83, ptr noundef %84) br label %98 86: ; preds = %74 %87 = load ptr, ptr %12, align 8 %88 = load ptr, ptr %12, align 8 %89 = load ptr, ptr %9, align 8 %90 = ptrtoint ptr %88 to i64 %91 = ptrtoint ptr %89 to i64 %92 = sub i64 %90, %91 %93 = trunc i64 %92 to i32 %94 = load ptr, ptr %9, align 8 %95 = load ptr, ptr %8, align 8 %96 = load ptr, ptr %9, align 8 %97 = call i32 (ptr, ptr, ...) @fprint_err(ptr noundef @.str.6, ptr noundef %87, i32 noundef %93, ptr noundef %94, ptr noundef %95, ptr noundef %96) br label %98 98: ; preds = %86, %81 store i32 1, ptr %6, align 4 br label %102 99: ; preds = %61 %100 = load i64, ptr %13, align 8 %101 = load ptr, ptr %11, align 8 store i64 %100, ptr %101, align 8 store i32 0, ptr %6, align 4 br label %102 102: ; preds = %99, %98, %60 %103 = load i32, ptr %6, align 4 ret i32 %103 } declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @print_err(ptr noundef) #1 declare i32 @fprint_err(ptr noundef, ptr noundef, ...) #1 declare i32 @strerror(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/tmpg8b0wj58.c' source_filename = "/tmp/tmpg8b0wj58.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mic1_alu(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = 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 %8 = load i32, ptr %5, align 4 switch i32 %8, label %55 [ i32 24, label %9 i32 20, label %11 i32 26, label %13 i32 44, label %16 i32 60, label %19 i32 61, label %23 i32 57, label %28 i32 53, label %31 i32 63, label %34 i32 55, label %38 i32 59, label %41 i32 12, label %44 i32 28, label %48 i32 16, label %52 i32 17, label %53 i32 18, label %54 ] 9: ; preds = %3 %10 = load i32, ptr %6, align 4 store i32 %10, ptr %4, align 4 br label %57 11: ; preds = %3 %12 = load i32, ptr %7, align 4 store i32 %12, ptr %4, align 4 br label %57 13: ; preds = %3 %14 = load i32, ptr %6, align 4 %15 = xor i32 %14, -1 store i32 %15, ptr %4, align 4 br label %57 16: ; preds = %3 %17 = load i32, ptr %7, align 4 %18 = xor i32 %17, -1 store i32 %18, ptr %4, align 4 br label %57 19: ; preds = %3 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %20, %21 store i32 %22, ptr %4, align 4 br label %57 23: ; preds = %3 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %7, align 4 %26 = add nsw i32 %24, %25 %27 = add nsw i32 %26, 1 store i32 %27, ptr %4, align 4 br label %57 28: ; preds = %3 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %4, align 4 br label %57 31: ; preds = %3 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %4, align 4 br label %57 34: ; preds = %3 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %6, align 4 %37 = sub nsw i32 %35, %36 store i32 %37, ptr %4, align 4 br label %57 38: ; preds = %3 %39 = load i32, ptr %7, align 4 %40 = sub nsw i32 %39, 1 store i32 %40, ptr %4, align 4 br label %57 41: ; preds = %3 %42 = load i32, ptr %6, align 4 %43 = sub nsw i32 0, %42 store i32 %43, ptr %4, align 4 br label %57 44: ; preds = %3 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %7, align 4 %47 = and i32 %45, %46 store i32 %47, ptr %4, align 4 br label %57 48: ; preds = %3 %49 = load i32, ptr %6, align 4 %50 = load i32, ptr %7, align 4 %51 = or i32 %49, %50 store i32 %51, ptr %4, align 4 br label %57 52: ; preds = %3 store i32 0, ptr %4, align 4 br label %57 53: ; preds = %3 store i32 1, ptr %4, align 4 br label %57 54: ; preds = %3 store i32 -1, ptr %4, align 4 br label %57 55: ; preds = %3 %56 = call i32 (...) @random() store i32 %56, ptr %4, align 4 br label %57 57: ; preds = %55, %54, %53, %52, %48, %44, %41, %38, %34, %31, %28, %23, %19, %16, %13, %11, %9 %58 = load i32, ptr %4, align 4 ret i32 %58 } declare i32 @random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg8b0wj58.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mic1_alu(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = 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 %8 = load i32, ptr %5, align 4 switch i32 %8, label %55 [ i32 24, label %9 i32 20, label %11 i32 26, label %13 i32 44, label %16 i32 60, label %19 i32 61, label %23 i32 57, label %28 i32 53, label %31 i32 63, label %34 i32 55, label %38 i32 59, label %41 i32 12, label %44 i32 28, label %48 i32 16, label %52 i32 17, label %53 i32 18, label %54 ] 9: ; preds = %3 %10 = load i32, ptr %6, align 4 store i32 %10, ptr %4, align 4 br label %57 11: ; preds = %3 %12 = load i32, ptr %7, align 4 store i32 %12, ptr %4, align 4 br label %57 13: ; preds = %3 %14 = load i32, ptr %6, align 4 %15 = xor i32 %14, -1 store i32 %15, ptr %4, align 4 br label %57 16: ; preds = %3 %17 = load i32, ptr %7, align 4 %18 = xor i32 %17, -1 store i32 %18, ptr %4, align 4 br label %57 19: ; preds = %3 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %20, %21 store i32 %22, ptr %4, align 4 br label %57 23: ; preds = %3 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %7, align 4 %26 = add nsw i32 %24, %25 %27 = add nsw i32 %26, 1 store i32 %27, ptr %4, align 4 br label %57 28: ; preds = %3 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %4, align 4 br label %57 31: ; preds = %3 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %4, align 4 br label %57 34: ; preds = %3 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %6, align 4 %37 = sub nsw i32 %35, %36 store i32 %37, ptr %4, align 4 br label %57 38: ; preds = %3 %39 = load i32, ptr %7, align 4 %40 = sub nsw i32 %39, 1 store i32 %40, ptr %4, align 4 br label %57 41: ; preds = %3 %42 = load i32, ptr %6, align 4 %43 = sub nsw i32 0, %42 store i32 %43, ptr %4, align 4 br label %57 44: ; preds = %3 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %7, align 4 %47 = and i32 %45, %46 store i32 %47, ptr %4, align 4 br label %57 48: ; preds = %3 %49 = load i32, ptr %6, align 4 %50 = load i32, ptr %7, align 4 %51 = or i32 %49, %50 store i32 %51, ptr %4, align 4 br label %57 52: ; preds = %3 store i32 0, ptr %4, align 4 br label %57 53: ; preds = %3 store i32 1, ptr %4, align 4 br label %57 54: ; preds = %3 store i32 -1, ptr %4, align 4 br label %57 55: ; preds = %3 %56 = call i32 (...) @random() store i32 %56, ptr %4, align 4 br label %57 57: ; preds = %55, %54, %53, %52, %48, %44, %41, %38, %34, %31, %28, %23, %19, %16, %13, %11, %9 %58 = load i32, ptr %4, align 4 ret i32 %58 } declare i32 @random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3yklna67.c' source_filename = "/tmp/tmp3yklna67.c" target datalayout = "e-m:e-p270: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/tmp3yklna67.c" target datalayout = "e-m:e-p270: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/tmp1z8u2ln2.c' source_filename = "/tmp/tmp1z8u2ln2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%20s: %llu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printunsigned(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call i32 @printf(ptr noundef @.str, ptr noundef %5, i64 noundef %6) ret void } declare i32 @printf(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1z8u2ln2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%20s: %llu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printunsigned(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call i32 @printf(ptr noundef @.str, ptr noundef %5, i64 noundef %6) ret void } declare i32 @printf(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmhjui3fq.c' source_filename = "/tmp/tmpmhjui3fq.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [7 x i8] c"line1\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"line2\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"line3\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 [1000 x ptr], align 16 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = getelementptr inbounds [1000 x ptr], ptr %6, i64 0, i64 0 %9 = load i32, ptr @stdin, align 4 %10 = call i32 @getlines(ptr noundef %8, i32 noundef 1000, i32 noundef %9) store i32 %10, ptr %7, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %35 12: ; preds = %2 %13 = load i32, ptr %7, align 4 %14 = icmp eq i32 %13, 3 %15 = zext i1 %14 to i32 %16 = call i32 @assert(i32 noundef %15) %17 = getelementptr inbounds [1000 x ptr], ptr %6, i64 0, i64 0 %18 = load ptr, ptr %17, align 16 %19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str) %20 = icmp eq i64 %19, 0 %21 = zext i1 %20 to i32 %22 = call i32 @assert(i32 noundef %21) %23 = getelementptr inbounds [1000 x ptr], ptr %6, i64 0, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.1) %26 = icmp eq i64 %25, 0 %27 = zext i1 %26 to i32 %28 = call i32 @assert(i32 noundef %27) %29 = getelementptr inbounds [1000 x ptr], ptr %6, i64 0, i64 2 %30 = load ptr, ptr %29, align 16 %31 = call i64 @strcmp(ptr noundef %30, ptr noundef @.str.2) %32 = icmp eq i64 %31, 0 %33 = zext i1 %32 to i32 %34 = call i32 @assert(i32 noundef %33) br label %35 35: ; preds = %12, %2 %36 = load i32, ptr %3, align 4 ret i32 %36 } declare i32 @getlines(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare i64 @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/tmpmhjui3fq.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [7 x i8] c"line1\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"line2\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"line3\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 [1000 x ptr], align 16 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = getelementptr inbounds [1000 x ptr], ptr %6, i64 0, i64 0 %9 = load i32, ptr @stdin, align 4 %10 = call i32 @getlines(ptr noundef %8, i32 noundef 1000, i32 noundef %9) store i32 %10, ptr %7, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %35 12: ; preds = %2 %13 = load i32, ptr %7, align 4 %14 = icmp eq i32 %13, 3 %15 = zext i1 %14 to i32 %16 = call i32 @assert(i32 noundef %15) %17 = getelementptr inbounds [1000 x ptr], ptr %6, i64 0, i64 0 %18 = load ptr, ptr %17, align 16 %19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str) %20 = icmp eq i64 %19, 0 %21 = zext i1 %20 to i32 %22 = call i32 @assert(i32 noundef %21) %23 = getelementptr inbounds [1000 x ptr], ptr %6, i64 0, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.1) %26 = icmp eq i64 %25, 0 %27 = zext i1 %26 to i32 %28 = call i32 @assert(i32 noundef %27) %29 = getelementptr inbounds [1000 x ptr], ptr %6, i64 0, i64 2 %30 = load ptr, ptr %29, align 16 %31 = call i64 @strcmp(ptr noundef %30, ptr noundef @.str.2) %32 = icmp eq i64 %31, 0 %33 = zext i1 %32 to i32 %34 = call i32 @assert(i32 noundef %33) br label %35 35: ; preds = %12, %2 %36 = load i32, ptr %3, align 4 ret i32 %36 } declare i32 @getlines(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare i64 @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/tmphi_haflb.c' source_filename = "/tmp/tmphi_haflb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @S_nu(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 store double 0x3A8067C5367C9154, ptr %5, align 8 store double 1.380000e-16, ptr %6, align 8 %7 = load double, ptr %3, align 8 %8 = call double @pow(double noundef %7, double noundef 2.000000e+00) #2 %9 = fmul double 0x3CB3E5BA9CD9FBD6, %8 %10 = load double, ptr %4, align 8 %11 = fmul double %9, %10 %12 = call double @pow(double noundef 0x421BEB9BF3A00000, double noundef -2.000000e+00) #2 %13 = fmul double %11, %12 ret double %13 } ; Function Attrs: nounwind 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 = { 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/tmphi_haflb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @S_nu(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 store double 0x3A8067C5367C9154, ptr %5, align 8 store double 1.380000e-16, ptr %6, align 8 %7 = load double, ptr %3, align 8 %8 = call double @pow(double noundef %7, double noundef 2.000000e+00) #2 %9 = fmul double 0x3CB3E5BA9CD9FBD6, %8 %10 = load double, ptr %4, align 8 %11 = fmul double %9, %10 %12 = call double @pow(double noundef 0x421BEB9BF3A00000, double noundef -2.000000e+00) #2 %13 = fmul double %11, %12 ret double %13 } ; Function Attrs: nounwind 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 = { 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/tmp9_ai9hq_.c' source_filename = "/tmp/tmp9_ai9hq_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quick_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 sge i32 %8, %9 br i1 %10, label %11, label %12 11: ; preds = %3 br label %25 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %6, align 4 %16 = call i32 @partition(ptr noundef %13, i32 noundef %14, i32 noundef %15) store i32 %16, ptr %7, align 4 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %7, align 4 %20 = sub nsw i32 %19, 1 call void @quick_sort(ptr noundef %17, i32 noundef %18, i32 noundef %20) %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %7, align 4 %23 = add nsw i32 %22, 1 %24 = load i32, ptr %6, align 4 call void @quick_sort(ptr noundef %21, i32 noundef %23, i32 noundef %24) br label %25 25: ; preds = %12, %11 ret void } declare i32 @partition(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/tmp9_ai9hq_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quick_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 sge i32 %8, %9 br i1 %10, label %11, label %12 11: ; preds = %3 br label %25 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %6, align 4 %16 = call i32 @partition(ptr noundef %13, i32 noundef %14, i32 noundef %15) store i32 %16, ptr %7, align 4 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %7, align 4 %20 = sub nsw i32 %19, 1 call void @quick_sort(ptr noundef %17, i32 noundef %18, i32 noundef %20) %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %7, align 4 %23 = add nsw i32 %22, 1 %24 = load i32, ptr %6, align 4 call void @quick_sort(ptr noundef %21, i32 noundef %23, i32 noundef %24) br label %25 25: ; preds = %12, %11 ret void } declare i32 @partition(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/tmp2ubmkma3.c' source_filename = "/tmp/tmp2ubmkma3.c" target datalayout = "e-m:e-p270: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.iwreq = type { %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } %struct.ifreq = type { i32 } @SIOCGIWNAME = dso_local global i32 0, align 4 @SIOCGIFFLAGS = dso_local global i32 0, align 4 @ENODEV = dso_local global i32 0, align 4 @ENOTSUP = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_wext(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca %struct.iwreq, align 4 %9 = alloca %struct.ifreq, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load i32, ptr %5, align 4 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr @SIOCGIWNAME, align 4 %13 = call i64 @iw_get_ext(i32 noundef %10, ptr noundef %11, i32 noundef %12, ptr noundef %8) %14 = icmp slt i64 %13, 0 br i1 %14, label %15, label %30 15: ; preds = %3 %16 = getelementptr inbounds %struct.ifreq, ptr %9, i32 0, i32 0 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %6, align 8 %19 = call i32 @strcpy(i32 noundef %17, ptr noundef %18) %20 = load i32, ptr %5, align 4 %21 = load i32, ptr @SIOCGIFFLAGS, align 4 %22 = call i64 @ioctl(i32 noundef %20, i32 noundef %21, ptr noundef %9) %23 = icmp slt i64 %22, 0 br i1 %23, label %24, label %27 24: ; preds = %15 %25 = load i32, ptr @ENODEV, align 4 %26 = sub nsw i32 0, %25 store i32 %26, ptr %4, align 4 br label %39 27: ; preds = %15 %28 = load i32, ptr @ENOTSUP, align 4 %29 = sub nsw i32 0, %28 store i32 %29, ptr %4, align 4 br label %39 30: ; preds = %3 %31 = load ptr, ptr %7, align 8 %32 = getelementptr inbounds %struct.iwreq, ptr %8, i32 0, i32 0 %33 = getelementptr inbounds %struct.TYPE_2__, ptr %32, i32 0, i32 0 %34 = load i32, ptr %33, align 4 %35 = call i32 @strncpy(ptr noundef %31, i32 noundef %34, i32 noundef 16) %36 = load ptr, ptr %7, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 16 store i8 0, ptr %37, align 1 br label %38 38: ; preds = %30 store i32 1, ptr %4, align 4 br label %39 39: ; preds = %38, %27, %24 %40 = load i32, ptr %4, align 4 ret i32 %40 } declare i64 @iw_get_ext(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strcpy(i32 noundef, ptr noundef) #1 declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @strncpy(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/tmp2ubmkma3.c" target datalayout = "e-m:e-p270: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.iwreq = type { %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } %struct.ifreq = type { i32 } @SIOCGIWNAME = dso_local global i32 0, align 4 @SIOCGIFFLAGS = dso_local global i32 0, align 4 @ENODEV = dso_local global i32 0, align 4 @ENOTSUP = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_wext(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca %struct.iwreq, align 4 %9 = alloca %struct.ifreq, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load i32, ptr %5, align 4 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr @SIOCGIWNAME, align 4 %13 = call i64 @iw_get_ext(i32 noundef %10, ptr noundef %11, i32 noundef %12, ptr noundef %8) %14 = icmp slt i64 %13, 0 br i1 %14, label %15, label %30 15: ; preds = %3 %16 = getelementptr inbounds %struct.ifreq, ptr %9, i32 0, i32 0 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %6, align 8 %19 = call i32 @strcpy(i32 noundef %17, ptr noundef %18) %20 = load i32, ptr %5, align 4 %21 = load i32, ptr @SIOCGIFFLAGS, align 4 %22 = call i64 @ioctl(i32 noundef %20, i32 noundef %21, ptr noundef %9) %23 = icmp slt i64 %22, 0 br i1 %23, label %24, label %27 24: ; preds = %15 %25 = load i32, ptr @ENODEV, align 4 %26 = sub nsw i32 0, %25 store i32 %26, ptr %4, align 4 br label %39 27: ; preds = %15 %28 = load i32, ptr @ENOTSUP, align 4 %29 = sub nsw i32 0, %28 store i32 %29, ptr %4, align 4 br label %39 30: ; preds = %3 %31 = load ptr, ptr %7, align 8 %32 = getelementptr inbounds %struct.iwreq, ptr %8, i32 0, i32 0 %33 = getelementptr inbounds %struct.TYPE_2__, ptr %32, i32 0, i32 0 %34 = load i32, ptr %33, align 4 %35 = call i32 @strncpy(ptr noundef %31, i32 noundef %34, i32 noundef 16) %36 = load ptr, ptr %7, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 16 store i8 0, ptr %37, align 1 br label %38 38: ; preds = %30 store i32 1, ptr %4, align 4 br label %39 39: ; preds = %38, %27, %24 %40 = load i32, ptr %4, align 4 ret i32 %40 } declare i64 @iw_get_ext(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strcpy(i32 noundef, ptr noundef) #1 declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @strncpy(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/tmpimy9z80v.c' source_filename = "/tmp/tmpimy9z80v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @randn() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = alloca double, align 8 br label %4 4: ; preds = %6, %0 %5 = call double (...) @randbl() store double %5, ptr %1, align 8 br label %6 6: ; preds = %4 %7 = load double, ptr %1, align 8 %8 = fcmp oeq double %7, 0.000000e+00 br i1 %8, label %4, label %9, !llvm.loop !6 9: ; preds = %6 %10 = call double (...) @randbl() store double %10, ptr %2, align 8 %11 = load double, ptr %1, align 8 %12 = call double @log(double noundef %11) #3 %13 = fmul double -2.000000e+00, %12 %14 = call double @sqrt(double noundef %13) #3 %15 = load double, ptr @M_PI, align 8 %16 = fmul double 2.000000e+00, %15 %17 = load double, ptr %2, align 8 %18 = fmul double %16, %17 %19 = call double @cos(double noundef %18) #3 %20 = fmul double %14, %19 store double %20, ptr %3, align 8 %21 = load double, ptr %3, align 8 ret double %21 } declare double @randbl(...) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 ; Function Attrs: nounwind declare double @log(double noundef) #2 ; Function Attrs: nounwind declare double @cos(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpimy9z80v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @randn() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = alloca double, align 8 br label %4 4: ; preds = %6, %0 %5 = call double (...) @randbl() store double %5, ptr %1, align 8 br label %6 6: ; preds = %4 %7 = load double, ptr %1, align 8 %8 = fcmp oeq double %7, 0.000000e+00 br i1 %8, label %4, label %9, !llvm.loop !6 9: ; preds = %6 %10 = call double (...) @randbl() store double %10, ptr %2, align 8 %11 = load double, ptr %1, align 8 %12 = call double @log(double noundef %11) #3 %13 = fmul double -2.000000e+00, %12 %14 = call double @sqrt(double noundef %13) #3 %15 = load double, ptr @M_PI, align 8 %16 = fmul double 2.000000e+00, %15 %17 = load double, ptr %2, align 8 %18 = fmul double %16, %17 %19 = call double @cos(double noundef %18) #3 %20 = fmul double %14, %19 store double %20, ptr %3, align 8 %21 = load double, ptr %3, align 8 ret double %21 } declare double @randbl(...) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 ; Function Attrs: nounwind declare double @log(double noundef) #2 ; Function Attrs: nounwind declare double @cos(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmph2d8dxej.c' source_filename = "/tmp/tmph2d8dxej.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fun_stub_base_2_call:a = %d, b = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"fun_stub_base_2_stub return %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fun_stub_base_2_call(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %7) %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @fun_stub_base_2_stub(i32 noundef %9, i32 noundef %10) store i32 %11, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %12) %14 = load i32, ptr %5, align 4 ret i32 %14 } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @fun_stub_base_2_stub(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/tmph2d8dxej.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fun_stub_base_2_call:a = %d, b = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"fun_stub_base_2_stub return %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fun_stub_base_2_call(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %7) %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @fun_stub_base_2_stub(i32 noundef %9, i32 noundef %10) store i32 %11, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %12) %14 = load i32, ptr %5, align 4 ret i32 %14 } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @fun_stub_base_2_stub(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/tmpio7ewa46.c' source_filename = "/tmp/tmpio7ewa46.c" target datalayout = "e-m:e-p270: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/tmpio7ewa46.c" target datalayout = "e-m:e-p270: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/tmpuk5vu9eo.c' source_filename = "/tmp/tmpuk5vu9eo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ASN1_BIT_STRING_set(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @ASN1_STRING_set(ptr noundef %7, ptr noundef %8, i32 noundef %9) ret i32 %10 } declare i32 @ASN1_STRING_set(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/tmpuk5vu9eo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ASN1_BIT_STRING_set(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @ASN1_STRING_set(ptr noundef %7, ptr noundef %8, i32 noundef %9) ret i32 %10 } declare i32 @ASN1_STRING_set(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/tmp8522a25w.c' source_filename = "/tmp/tmp8522a25w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pf(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %2, align 8 store i64 0, ptr %3, align 8 store i64 0, ptr %4, align 8 store i64 0, ptr %5, align 8 br label %7 7: ; preds = %11, %1 %8 = load i64, ptr %2, align 8 %9 = srem i64 %8, 2 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %16 11: ; preds = %7 %12 = load i64, ptr %3, align 8 %13 = add nsw i64 %12, 1 store i64 %13, ptr %3, align 8 %14 = load i64, ptr %2, align 8 %15 = sdiv i64 %14, 2 store i64 %15, ptr %2, align 8 br label %7, !llvm.loop !6 16: ; preds = %7 store i64 3, ptr %6, align 8 br label %17 17: ; preds = %35, %16 %18 = load i64, ptr %6, align 8 %19 = load i64, ptr %2, align 8 %20 = call i64 @sqrt(i64 noundef %19) %21 = icmp sle i64 %18, %20 br i1 %21, label %22, label %38 22: ; preds = %17 br label %23 23: ; preds = %28, %22 %24 = load i64, ptr %2, align 8 %25 = load i64, ptr %6, align 8 %26 = srem i64 %24, %25 %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %34 28: ; preds = %23 %29 = load i64, ptr %4, align 8 %30 = add nsw i64 %29, 1 store i64 %30, ptr %4, align 8 %31 = load i64, ptr %2, align 8 %32 = load i64, ptr %6, align 8 %33 = sdiv i64 %31, %32 store i64 %33, ptr %2, align 8 br label %23, !llvm.loop !8 34: ; preds = %23 br label %35 35: ; preds = %34 %36 = load i64, ptr %6, align 8 %37 = add nsw i64 %36, 2 store i64 %37, ptr %6, align 8 br label %17, !llvm.loop !9 38: ; preds = %17 %39 = load i64, ptr %2, align 8 %40 = icmp sgt i64 %39, 2 br i1 %40, label %41, label %44 41: ; preds = %38 %42 = load i64, ptr %5, align 8 %43 = add nsw i64 %42, 1 store i64 %43, ptr %5, align 8 br label %44 44: ; preds = %41, %38 %45 = load i64, ptr %3, align 8 %46 = load i64, ptr %4, align 8 %47 = add nsw i64 %45, %46 %48 = load i64, ptr %5, align 8 %49 = add nsw i64 %47, %48 ret i64 %49 } declare i64 @sqrt(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} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8522a25w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pf(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %2, align 8 store i64 0, ptr %3, align 8 store i64 0, ptr %4, align 8 store i64 0, ptr %5, align 8 %7 = load i64, ptr %2, align 8 %8 = srem i64 %7, 2 %9 = icmp eq i64 %8, 0 br i1 %9, label %.lr.ph, label %18 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %10 %11 = load i64, ptr %3, align 8 %12 = add nsw i64 %11, 1 store i64 %12, ptr %3, align 8 %13 = load i64, ptr %2, align 8 %14 = sdiv i64 %13, 2 store i64 %14, ptr %2, align 8 %15 = load i64, ptr %2, align 8 %16 = srem i64 %15, 2 %17 = icmp eq i64 %16, 0 br i1 %17, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %18 18: ; preds = %._crit_edge, %1 store i64 3, ptr %6, align 8 %19 = load i64, ptr %6, align 8 %20 = load i64, ptr %2, align 8 %21 = call i64 @sqrt(i64 noundef %20) %22 = icmp sle i64 %19, %21 br i1 %22, label %.lr.ph5, label %46 .lr.ph5: ; preds = %18 br label %23 23: ; preds = %.lr.ph5, %39 %24 = load i64, ptr %2, align 8 %25 = load i64, ptr %6, align 8 %26 = srem i64 %24, %25 %27 = icmp eq i64 %26, 0 br i1 %27, label %.lr.ph2, label %38 .lr.ph2: ; preds = %23 br label %28 28: ; preds = %.lr.ph2, %28 %29 = load i64, ptr %4, align 8 %30 = add nsw i64 %29, 1 store i64 %30, ptr %4, align 8 %31 = load i64, ptr %2, align 8 %32 = load i64, ptr %6, align 8 %33 = sdiv i64 %31, %32 store i64 %33, ptr %2, align 8 %34 = load i64, ptr %2, align 8 %35 = load i64, ptr %6, align 8 %36 = srem i64 %34, %35 %37 = icmp eq i64 %36, 0 br i1 %37, label %28, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %28 br label %38 38: ; preds = %._crit_edge3, %23 br label %39 39: ; preds = %38 %40 = load i64, ptr %6, align 8 %41 = add nsw i64 %40, 2 store i64 %41, ptr %6, align 8 %42 = load i64, ptr %6, align 8 %43 = load i64, ptr %2, align 8 %44 = call i64 @sqrt(i64 noundef %43) %45 = icmp sle i64 %42, %44 br i1 %45, label %23, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %39 br label %46 46: ; preds = %._crit_edge6, %18 %47 = load i64, ptr %2, align 8 %48 = icmp sgt i64 %47, 2 br i1 %48, label %49, label %52 49: ; preds = %46 %50 = load i64, ptr %5, align 8 %51 = add nsw i64 %50, 1 store i64 %51, ptr %5, align 8 br label %52 52: ; preds = %49, %46 %53 = load i64, ptr %3, align 8 %54 = load i64, ptr %4, align 8 %55 = add nsw i64 %53, %54 %56 = load i64, ptr %5, align 8 %57 = add nsw i64 %55, %56 ret i64 %57 } declare i64 @sqrt(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} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmptrhlsd0g.c' source_filename = "/tmp/tmptrhlsd0g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"%3.0f %6.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 300, ptr %4, align 4 store i32 20, ptr %5, align 4 %6 = load i32, ptr %3, align 4 %7 = sitofp i32 %6 to float store float %7, ptr %2, align 4 br label %8 8: ; preds = %13, %0 %9 = load float, ptr %2, align 4 %10 = load i32, ptr %4, align 4 %11 = sitofp i32 %10 to float %12 = fcmp ole float %9, %11 br i1 %12, label %13, label %22 13: ; preds = %8 %14 = load float, ptr %2, align 4 %15 = load float, ptr %2, align 4 %16 = call double @fahrToCelsius(float noundef %15) %17 = call i32 @printf(ptr noundef @.str, float noundef %14, double noundef %16) %18 = load i32, ptr %5, align 4 %19 = sitofp i32 %18 to float %20 = load float, ptr %2, align 4 %21 = fadd float %20, %19 store float %21, ptr %2, align 4 br label %8, !llvm.loop !6 22: ; preds = %8 ret i32 0 } declare i32 @printf(ptr noundef, float noundef, double noundef) #1 declare double @fahrToCelsius(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptrhlsd0g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"%3.0f %6.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 300, ptr %4, align 4 store i32 20, ptr %5, align 4 %6 = load i32, ptr %3, align 4 %7 = sitofp i32 %6 to float store float %7, ptr %2, align 4 %8 = load float, ptr %2, align 4 %9 = load i32, ptr %4, align 4 %10 = sitofp i32 %9 to float %11 = fcmp ole float %8, %10 br i1 %11, label %.lr.ph, label %25 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %12 %13 = load float, ptr %2, align 4 %14 = load float, ptr %2, align 4 %15 = call double @fahrToCelsius(float noundef %14) %16 = call i32 @printf(ptr noundef @.str, float noundef %13, double noundef %15) %17 = load i32, ptr %5, align 4 %18 = sitofp i32 %17 to float %19 = load float, ptr %2, align 4 %20 = fadd float %19, %18 store float %20, ptr %2, align 4 %21 = load float, ptr %2, align 4 %22 = load i32, ptr %4, align 4 %23 = sitofp i32 %22 to float %24 = fcmp ole float %21, %23 br i1 %24, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %25 25: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, float noundef, double noundef) #1 declare double @fahrToCelsius(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbndp1mr0.c' source_filename = "/tmp/tmpbndp1mr0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @blkfree(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 br label %4 4: ; preds = %18, %1 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %3, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds ptr, ptr %5, i64 %7 %9 = load ptr, ptr %8, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %21 11: ; preds = %4 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds ptr, ptr %12, i64 %14 %16 = load ptr, ptr %15, align 8 %17 = call i32 @free(ptr noundef %16) br label %18 18: ; preds = %11 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %4, !llvm.loop !6 21: ; preds = %4 ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbndp1mr0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @blkfree(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 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %3, align 4 %6 = sext i32 %5 to i64 %7 = getelementptr inbounds ptr, ptr %4, i64 %6 %8 = load ptr, ptr %7, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %.lr.ph, label %26 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %17 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds ptr, ptr %11, i64 %13 %15 = load ptr, ptr %14, align 8 %16 = call i32 @free(ptr noundef %15) br label %17 17: ; preds = %10 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds ptr, ptr %20, i64 %22 %24 = load ptr, ptr %23, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %26 26: ; preds = %._crit_edge, %1 ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmprn4oyqck.c' source_filename = "/tmp/tmprn4oyqck.c" target datalayout = "e-m:e-p270: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/tmprn4oyqck.c" target datalayout = "e-m:e-p270: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/tmp4r1l33wo.c' source_filename = "/tmp/tmp4r1l33wo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"(root)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @parse_cyconf(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 %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = call ptr @read_conflines(ptr noundef %8) store ptr %9, ptr %7, align 8 %10 = call ptr @create_cnfnode(ptr noundef @.str) store ptr %10, ptr %5, align 8 %11 = load ptr, ptr %7, align 8 store ptr %11, ptr %6, align 8 br label %12 12: ; preds = %15, %2 %13 = load ptr, ptr %6, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %12 %16 = load ptr, ptr %5, align 8 %17 = load ptr, ptr %6, align 8 %18 = call ptr @_parse_cyconf(ptr noundef %16, ptr noundef %17) store ptr %18, ptr %6, align 8 br label %12, !llvm.loop !6 19: ; preds = %12 %20 = load ptr, ptr %7, align 8 %21 = call i32 @destroy_confline_list(ptr noundef %20) %22 = load ptr, ptr %5, align 8 ret ptr %22 } declare ptr @read_conflines(ptr noundef) #1 declare ptr @create_cnfnode(ptr noundef) #1 declare ptr @_parse_cyconf(ptr noundef, ptr noundef) #1 declare i32 @destroy_confline_list(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp4r1l33wo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"(root)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @parse_cyconf(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 %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = call ptr @read_conflines(ptr noundef %8) store ptr %9, ptr %7, align 8 %10 = call ptr @create_cnfnode(ptr noundef @.str) store ptr %10, ptr %5, align 8 %11 = load ptr, ptr %7, align 8 store ptr %11, ptr %6, align 8 %12 = load ptr, ptr %6, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %.lr.ph, label %20 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %14 %15 = load ptr, ptr %5, align 8 %16 = load ptr, ptr %6, align 8 %17 = call ptr @_parse_cyconf(ptr noundef %15, ptr noundef %16) store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %6, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %20 20: ; preds = %._crit_edge, %2 %21 = load ptr, ptr %7, align 8 %22 = call i32 @destroy_confline_list(ptr noundef %21) %23 = load ptr, ptr %5, align 8 ret ptr %23 } declare ptr @read_conflines(ptr noundef) #1 declare ptr @create_cnfnode(ptr noundef) #1 declare ptr @_parse_cyconf(ptr noundef, ptr noundef) #1 declare i32 @destroy_confline_list(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpaf0jfhgb.c' source_filename = "/tmp/tmpaf0jfhgb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = srem i32 %5, %6 %8 = load i32, ptr %4, align 4 %9 = add nsw i32 %7, %8 %10 = load i32, ptr %4, align 4 %11 = srem i32 %9, %10 ret i32 %11 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaf0jfhgb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = srem i32 %5, %6 %8 = load i32, ptr %4, align 4 %9 = add nsw i32 %7, %8 %10 = load i32, ptr %4, align 4 %11 = srem i32 %9, %10 ret i32 %11 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_svbyk67.c' source_filename = "/tmp/tmp_svbyk67.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"hyperx Argument Error: s not > x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @hyperx(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 %7 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %8 = load double, ptr %4, align 8 %9 = load double, ptr %3, align 8 %10 = fcmp ole double %8, %9 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @erro(ptr noundef @.str) br label %13 13: ; preds = %11, %2 %14 = load double, ptr %4, align 8 %15 = load double, ptr %3, align 8 %16 = fdiv double %14, %15 store double %16, ptr %5, align 8 %17 = load double, ptr %5, align 8 %18 = load double, ptr %5, align 8 %19 = fmul double %17, %18 store double %19, ptr %6, align 8 %20 = load double, ptr %6, align 8 %21 = fsub double %20, 1.000000e+00 %22 = load double, ptr %6, align 8 %23 = fadd double %22, 1.000000e+00 %24 = fdiv double %21, %23 %25 = call double @sqrt(double noundef %24) #3 %26 = fsub double 1.000000e+00, %25 %27 = fmul double 5.000000e-01, %26 store double %27, ptr %7, align 8 %28 = call double (...) @ranf() %29 = load double, ptr %7, align 8 %30 = fcmp ogt double %28, %29 br i1 %30, label %31, label %36 31: ; preds = %13 %32 = load double, ptr %3, align 8 %33 = load double, ptr %7, align 8 %34 = fsub double 1.000000e+00, %33 %35 = fdiv double %32, %34 br label %40 36: ; preds = %13 %37 = load double, ptr %3, align 8 %38 = load double, ptr %7, align 8 %39 = fdiv double %37, %38 br label %40 40: ; preds = %36, %31 %41 = phi double [ %35, %31 ], [ %39, %36 ] store double %41, ptr %6, align 8 %42 = load double, ptr %6, align 8 %43 = fmul double -5.000000e-01, %42 %44 = call double (...) @ranf() %45 = call double @log(double noundef %44) #3 %46 = fmul double %43, %45 ret double %46 } declare i32 @erro(ptr noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 declare double @ranf(...) #1 ; Function Attrs: nounwind declare double @log(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_svbyk67.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"hyperx Argument Error: s not > x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @hyperx(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 %7 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %8 = load double, ptr %4, align 8 %9 = load double, ptr %3, align 8 %10 = fcmp ole double %8, %9 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @erro(ptr noundef @.str) br label %13 13: ; preds = %11, %2 %14 = load double, ptr %4, align 8 %15 = load double, ptr %3, align 8 %16 = fdiv double %14, %15 store double %16, ptr %5, align 8 %17 = load double, ptr %5, align 8 %18 = load double, ptr %5, align 8 %19 = fmul double %17, %18 store double %19, ptr %6, align 8 %20 = load double, ptr %6, align 8 %21 = fsub double %20, 1.000000e+00 %22 = load double, ptr %6, align 8 %23 = fadd double %22, 1.000000e+00 %24 = fdiv double %21, %23 %25 = call double @sqrt(double noundef %24) #3 %26 = fsub double 1.000000e+00, %25 %27 = fmul double 5.000000e-01, %26 store double %27, ptr %7, align 8 %28 = call double (...) @ranf() %29 = load double, ptr %7, align 8 %30 = fcmp ogt double %28, %29 br i1 %30, label %31, label %36 31: ; preds = %13 %32 = load double, ptr %3, align 8 %33 = load double, ptr %7, align 8 %34 = fsub double 1.000000e+00, %33 %35 = fdiv double %32, %34 br label %40 36: ; preds = %13 %37 = load double, ptr %3, align 8 %38 = load double, ptr %7, align 8 %39 = fdiv double %37, %38 br label %40 40: ; preds = %36, %31 %41 = phi double [ %35, %31 ], [ %39, %36 ] store double %41, ptr %6, align 8 %42 = load double, ptr %6, align 8 %43 = fmul double -5.000000e-01, %42 %44 = call double (...) @ranf() %45 = call double @log(double noundef %44) #3 %46 = fmul double %43, %45 ret double %46 } declare i32 @erro(ptr noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 declare double @ranf(...) #1 ; Function Attrs: nounwind declare double @log(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcukm9qyj.c' source_filename = "/tmp/tmpcukm9qyj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [8 x i32] [i32 7, i32 8, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6], align 16 @__const.main.b = private unnamed_addr constant [8 x i32] [i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 1, i32 2], align 16 @.str = private unnamed_addr constant [12 x i8] c"Index is %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [8 x i32], align 16 %2 = alloca [8 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.a, i64 32, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.b, i64 32, i1 false) store i32 8, ptr %3, align 4 %5 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 0 %6 = load i32, ptr %3, align 4 %7 = sub nsw i32 %6, 1 %8 = call i32 @find(ptr noundef %5, i32 noundef 0, i32 noundef %7, i32 noundef 5) store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) 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 @find(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcukm9qyj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [8 x i32] [i32 7, i32 8, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6], align 16 @__const.main.b = private unnamed_addr constant [8 x i32] [i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 1, i32 2], align 16 @.str = private unnamed_addr constant [12 x i8] c"Index is %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [8 x i32], align 16 %2 = alloca [8 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.a, i64 32, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.b, i64 32, i1 false) store i32 8, ptr %3, align 4 %5 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 0 %6 = load i32, ptr %3, align 4 %7 = sub nsw i32 %6, 1 %8 = call i32 @find(ptr noundef %5, i32 noundef 0, i32 noundef %7, i32 noundef 5) store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) 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 @find(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2 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"}
; ModuleID = '/tmp/tmpbzzaz3yn.c' source_filename = "/tmp/tmpbzzaz3yn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @countMismatches(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %5, align 4 br label %10 10: ; preds = %32, %2 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %35 14: ; preds = %10 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %20, %26 br i1 %27, label %28, label %31 28: ; preds = %14 %29 = load i32, ptr %7, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %7, align 4 br label %31 31: ; preds = %28, %14 br label %32 32: ; preds = %31 %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %5, align 4 br label %10, !llvm.loop !6 35: ; preds = %10 %36 = load i32, ptr %7, align 4 ret i32 %36 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbzzaz3yn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @countMismatches(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %37 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %31 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %19, %25 br i1 %26, label %27, label %30 27: ; preds = %13 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %7, align 4 br label %30 30: ; preds = %27, %13 br label %31 31: ; preds = %30 %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %5, align 4 %34 = load i32, ptr %5, align 4 %35 = load i32, ptr %6, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %37 37: ; preds = %._crit_edge, %2 %38 = load i32, ptr %7, align 4 ret i32 %38 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp0df3x4aq.c' source_filename = "/tmp/tmp0df3x4aq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"/dev/new_midi\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"new_midi open\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 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 %8 = load ptr, ptr %6, align 8 %9 = call i32 @open(ptr noundef %8, i32 noundef 0) store i32 %9, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @perror(ptr noundef @.str.1) store i32 2, ptr %3, align 4 br label %20 14: ; preds = %2 %15 = load i32, ptr %7, align 4 %16 = call i32 @_IO(i32 noundef 0, i32 noundef 1) %17 = call i32 @ioctl(i32 noundef %15, i32 noundef %16) %18 = load i32, ptr %7, align 4 %19 = call i32 @close(i32 noundef %18) store i32 0, ptr %3, align 4 br label %20 20: ; preds = %14, %12 %21 = load i32, ptr %3, align 4 ret i32 %21 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef) #1 declare i32 @_IO(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0df3x4aq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"/dev/new_midi\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"new_midi open\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 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 %8 = load ptr, ptr %6, align 8 %9 = call i32 @open(ptr noundef %8, i32 noundef 0) store i32 %9, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @perror(ptr noundef @.str.1) store i32 2, ptr %3, align 4 br label %20 14: ; preds = %2 %15 = load i32, ptr %7, align 4 %16 = call i32 @_IO(i32 noundef 0, i32 noundef 1) %17 = call i32 @ioctl(i32 noundef %15, i32 noundef %16) %18 = load i32, ptr %7, align 4 %19 = call i32 @close(i32 noundef %18) store i32 0, ptr %3, align 4 br label %20 20: ; preds = %14, %12 %21 = load i32, ptr %3, align 4 ret i32 %21 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef) #1 declare i32 @_IO(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpci16wlm6.c' source_filename = "/tmp/tmpci16wlm6.c" target datalayout = "e-m:e-p270: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/tmpci16wlm6.c" target datalayout = "e-m:e-p270: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/tmp1ivt2k_w.c' source_filename = "/tmp/tmp1ivt2k_w.c" target datalayout = "e-m:e-p270: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/tmp1ivt2k_w.c" target datalayout = "e-m:e-p270: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/tmph6y6b3vh.c' source_filename = "/tmp/tmph6y6b3vh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @rand() store i32 %7, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = call i32 @doswitch(i32 noundef %8) %10 = load i32, ptr %4, align 4 %11 = call i32 @doswitch(i32 noundef %10) %12 = add nsw i32 %9, %11 ret i32 %12 } declare i32 @rand(...) #1 declare i32 @doswitch(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/tmph6y6b3vh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @rand() store i32 %7, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = call i32 @doswitch(i32 noundef %8) %10 = load i32, ptr %4, align 4 %11 = call i32 @doswitch(i32 noundef %10) %12 = add nsw i32 %9, %11 ret i32 %12 } declare i32 @rand(...) #1 declare i32 @doswitch(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/tmpszsc7nol.c' source_filename = "/tmp/tmpszsc7nol.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Hello World from thread %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"There are %d threads\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 (...) @omp_get_thread_num() store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) %11 = load i32, ptr %6, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %2 %14 = call i32 (...) @omp_get_num_threads() store i32 %14, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = call i32 @printf(ptr noundef @.str.1, i32 noundef %15) br label %17 17: ; preds = %13, %2 %18 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %18 } declare i32 @omp_get_thread_num(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @omp_get_num_threads(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpszsc7nol.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Hello World from thread %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"There are %d threads\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 (...) @omp_get_thread_num() store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) %11 = load i32, ptr %6, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %2 %14 = call i32 (...) @omp_get_num_threads() store i32 %14, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = call i32 @printf(ptr noundef @.str.1, i32 noundef %15) br label %17 17: ; preds = %13, %2 %18 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %18 } declare i32 @omp_get_thread_num(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @omp_get_num_threads(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpybl1qk1h.c' source_filename = "/tmp/tmpybl1qk1h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wctomb(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null %7 = zext i1 %6 to i64 %8 = select i1 %6, i32 0, i32 -1 ret i32 %8 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpybl1qk1h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wctomb(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null %7 = zext i1 %6 to i64 %8 = select i1 %6, i32 0, i32 -1 ret i32 %8 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzlix3zdb.c' source_filename = "/tmp/tmpzlix3zdb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lseek(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = ashr i32 %11, 32 %13 = load i32, ptr %6, align 4 %14 = and i32 %13, -1 %15 = load i32, ptr %7, align 4 %16 = call i64 @lseek64(i32 noundef %10, i32 noundef %12, i32 noundef %14, ptr noundef %8, i32 noundef %15) store i64 %16, ptr %9, align 8 %17 = load i64, ptr %9, align 8 %18 = icmp slt i64 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %3 %20 = load i64, ptr %9, align 8 %21 = trunc i64 %20 to i32 store i32 %21, ptr %4, align 4 br label %24 22: ; preds = %3 %23 = load i32, ptr %8, align 4 store i32 %23, ptr %4, align 4 br label %24 24: ; preds = %22, %19 %25 = load i32, ptr %4, align 4 ret i32 %25 } declare i64 @lseek64(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/tmpzlix3zdb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lseek(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = ashr i32 %11, 32 %13 = load i32, ptr %6, align 4 %14 = and i32 %13, -1 %15 = load i32, ptr %7, align 4 %16 = call i64 @lseek64(i32 noundef %10, i32 noundef %12, i32 noundef %14, ptr noundef %8, i32 noundef %15) store i64 %16, ptr %9, align 8 %17 = load i64, ptr %9, align 8 %18 = icmp slt i64 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %3 %20 = load i64, ptr %9, align 8 %21 = trunc i64 %20 to i32 store i32 %21, ptr %4, align 4 br label %24 22: ; preds = %3 %23 = load i32, ptr %8, align 4 store i32 %23, ptr %4, align 4 br label %24 24: ; preds = %22, %19 %25 = load i32, ptr %4, align 4 ret i32 %25 } declare i64 @lseek64(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/tmpbzsxhct9.c' source_filename = "/tmp/tmpbzsxhct9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nmstermio_print_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @addstr(ptr noundef %3) ret void } declare i32 @addstr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbzsxhct9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nmstermio_print_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @addstr(ptr noundef %3) ret void } declare i32 @addstr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpowa3foaf.c' source_filename = "/tmp/tmpowa3foaf.c" target datalayout = "e-m:e-p270: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/tmpowa3foaf.c" target datalayout = "e-m:e-p270: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/tmpv37487_j.c' source_filename = "/tmp/tmpv37487_j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtext_height(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @rtext_senditup(ptr noundef %6, i32 noundef 0, ptr noundef %3, ptr noundef %4, ptr noundef %5) %8 = load i32, ptr %4, align 4 ret i32 %8 } declare i32 @rtext_senditup(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv37487_j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtext_height(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @rtext_senditup(ptr noundef %6, i32 noundef 0, ptr noundef %3, ptr noundef %4, ptr noundef %5) %8 = load i32, ptr %4, align 4 ret i32 %8 } declare i32 @rtext_senditup(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkkawdumc.c' source_filename = "/tmp/tmpkkawdumc.c" target datalayout = "e-m:e-p270: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/tmpkkawdumc.c" target datalayout = "e-m:e-p270: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/tmpdjsn8thc.c' source_filename = "/tmp/tmpdjsn8thc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"input a line\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [38 x i8] c"the line youhave just input is \0A'%s'\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"and its size is: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"\09 comparision with fgets:\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"the line is '%s'\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"its length 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 [20 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %9 = load i32, ptr @stdin, align 4 %10 = call i32 @getline(ptr noundef %8, i32 noundef 20, i32 noundef %9) %11 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %11) %13 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %14 = call i32 @strlen(ptr noundef %13) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %14) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) %18 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %19 = load i32, ptr @stdin, align 4 %20 = call i32 @fgets(ptr noundef %18, i32 noundef 20, i32 noundef %19) %21 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %21) %23 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %24 = call i32 @strlen(ptr noundef %23) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %24) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getline(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fgets(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/tmpdjsn8thc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"input a line\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [38 x i8] c"the line youhave just input is \0A'%s'\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"and its size is: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"\09 comparision with fgets:\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"the line is '%s'\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"its length 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 [20 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %9 = load i32, ptr @stdin, align 4 %10 = call i32 @getline(ptr noundef %8, i32 noundef 20, i32 noundef %9) %11 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %11) %13 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %14 = call i32 @strlen(ptr noundef %13) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %14) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) %18 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %19 = load i32, ptr @stdin, align 4 %20 = call i32 @fgets(ptr noundef %18, i32 noundef 20, i32 noundef %19) %21 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %21) %23 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %24 = call i32 @strlen(ptr noundef %23) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %24) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getline(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fgets(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/tmp4oyoydsv.c' source_filename = "/tmp/tmp4oyoydsv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pow(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = load double, ptr %4, align 8 %7 = call double @powf(double noundef %5, double noundef %6) ret double %7 } declare double @powf(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/tmp4oyoydsv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pow(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = load double, ptr %4, align 8 %7 = call double @powf(double noundef %5, double noundef %6) ret double %7 } declare double @powf(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/tmph86r0ff8.c' source_filename = "/tmp/tmph86r0ff8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @rndgamma1.a = internal global double 0.000000e+00, align 8 @rndgamma1.p = internal global double 0.000000e+00, align 8 @rndgamma1.uf = internal global double 0.000000e+00, align 8 @rndgamma1.ss = internal global double 1.000000e+01, align 8 @rndgamma1.d = internal global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @rndgamma1(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store double %0, ptr %3, align 8 store double 0.000000e+00, ptr %5, align 8 store double 1.000000e-37, ptr %6, align 8 %8 = load double, ptr %3, align 8 %9 = load double, ptr @rndgamma1.ss, align 8 %10 = fcmp une double %8, %9 br i1 %10, label %11, label %35 11: ; preds = %1 %12 = load double, ptr %3, align 8 %13 = fsub double 1.000000e+00, %12 store double %13, ptr @rndgamma1.a, align 8 %14 = load double, ptr @rndgamma1.a, align 8 %15 = load double, ptr @rndgamma1.a, align 8 %16 = load double, ptr %3, align 8 %17 = load double, ptr @rndgamma1.a, align 8 %18 = fneg double %17 %19 = call double @exp(double noundef %18) #4 %20 = call double @llvm.fmuladd.f64(double %16, double %19, double %15) %21 = fdiv double %14, %20 store double %21, ptr @rndgamma1.p, align 8 %22 = load double, ptr @rndgamma1.p, align 8 %23 = load double, ptr %6, align 8 %24 = load double, ptr @rndgamma1.a, align 8 %25 = fdiv double %23, %24 %26 = load double, ptr %3, align 8 %27 = fptosi double %26 to i32 %28 = call double @pow(double noundef %25, i32 noundef %27) %29 = fmul double %22, %28 store double %29, ptr @rndgamma1.uf, align 8 %30 = load double, ptr @rndgamma1.a, align 8 %31 = load double, ptr @rndgamma1.a, align 8 %32 = call double @log(double noundef %31) #4 %33 = fmul double %30, %32 store double %33, ptr @rndgamma1.d, align 8 %34 = load double, ptr %3, align 8 store double %34, ptr @rndgamma1.ss, align 8 br label %35 35: ; preds = %11, %1 br label %36 36: ; preds = %94, %35 %37 = call double (...) @seq_gen_rndu() store double %37, ptr %4, align 8 %38 = load double, ptr %4, align 8 %39 = load double, ptr @rndgamma1.p, align 8 %40 = fcmp ogt double %38, %39 br i1 %40, label %41, label %56 41: ; preds = %36 %42 = load double, ptr @rndgamma1.a, align 8 %43 = load double, ptr %4, align 8 %44 = fsub double 1.000000e+00, %43 %45 = load double, ptr @rndgamma1.p, align 8 %46 = fsub double 1.000000e+00, %45 %47 = fdiv double %44, %46 %48 = call double @log(double noundef %47) #4 %49 = fsub double %42, %48 store double %49, ptr %5, align 8 %50 = load double, ptr @rndgamma1.a, align 8 %51 = load double, ptr %5, align 8 %52 = call double @log(double noundef %51) #4 %53 = load double, ptr @rndgamma1.d, align 8 %54 = fneg double %53 %55 = call double @llvm.fmuladd.f64(double %50, double %52, double %54) store double %55, ptr %7, align 8 br label %73 56: ; preds = %36 %57 = load double, ptr %4, align 8 %58 = load double, ptr @rndgamma1.uf, align 8 %59 = fcmp ogt double %57, %58 br i1 %59, label %60, label %71 60: ; preds = %56 %61 = load double, ptr @rndgamma1.a, align 8 %62 = load double, ptr %4, align 8 %63 = load double, ptr @rndgamma1.p, align 8 %64 = fdiv double %62, %63 %65 = load double, ptr %3, align 8 %66 = fdiv double 1.000000e+00, %65 %67 = fptosi double %66 to i32 %68 = call double @pow(double noundef %64, i32 noundef %67) %69 = fmul double %61, %68 store double %69, ptr %5, align 8 %70 = load double, ptr %5, align 8 store double %70, ptr %7, align 8 br label %72 71: ; preds = %56 store double 0.000000e+00, ptr %2, align 8 br label %99 72: ; preds = %60 br label %73 73: ; preds = %72, %41 %74 = call double (...) @seq_gen_rndu() store double %74, ptr %4, align 8 %75 = load double, ptr %4, align 8 %76 = fsub double 1.000000e+00, %75 %77 = load double, ptr %7, align 8 %78 = fcmp ole double %76, %77 br i1 %78, label %79, label %96 79: ; preds = %73 %80 = load double, ptr %4, align 8 %81 = fcmp ogt double %80, 0.000000e+00 br i1 %81, label %82, label %96 82: ; preds = %79 %83 = load double, ptr %4, align 8 %84 = load double, ptr %7, align 8 %85 = fadd double %84, 1.000000e+00 %86 = fmul double %83, %85 %87 = fcmp oge double %86, 1.000000e+00 br i1 %87, label %94, label %88 88: ; preds = %82 %89 = load double, ptr %4, align 8 %90 = call double @log(double noundef %89) #4 %91 = fneg double %90 %92 = load double, ptr %7, align 8 %93 = fcmp ole double %91, %92 br i1 %93, label %94, label %95 94: ; preds = %88, %82 br label %36 95: ; preds = %88 br label %96 96: ; preds = %95, %79, %73 br label %97 97: ; preds = %96 %98 = load double, ptr %5, align 8 store double %98, ptr %2, align 8 br label %99 99: ; preds = %97, %71 %100 = load double, ptr %2, align 8 ret double %100 } ; Function Attrs: nounwind declare double @exp(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @pow(double noundef, i32 noundef) #3 ; Function Attrs: nounwind declare double @log(double noundef) #1 declare double @seq_gen_rndu(...) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph86r0ff8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @rndgamma1.a = internal global double 0.000000e+00, align 8 @rndgamma1.p = internal global double 0.000000e+00, align 8 @rndgamma1.uf = internal global double 0.000000e+00, align 8 @rndgamma1.ss = internal global double 1.000000e+01, align 8 @rndgamma1.d = internal global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @rndgamma1(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store double %0, ptr %3, align 8 store double 0.000000e+00, ptr %5, align 8 store double 1.000000e-37, ptr %6, align 8 %8 = load double, ptr %3, align 8 %9 = load double, ptr @rndgamma1.ss, align 8 %10 = fcmp une double %8, %9 br i1 %10, label %11, label %35 11: ; preds = %1 %12 = load double, ptr %3, align 8 %13 = fsub double 1.000000e+00, %12 store double %13, ptr @rndgamma1.a, align 8 %14 = load double, ptr @rndgamma1.a, align 8 %15 = load double, ptr @rndgamma1.a, align 8 %16 = load double, ptr %3, align 8 %17 = load double, ptr @rndgamma1.a, align 8 %18 = fneg double %17 %19 = call double @exp(double noundef %18) #4 %20 = call double @llvm.fmuladd.f64(double %16, double %19, double %15) %21 = fdiv double %14, %20 store double %21, ptr @rndgamma1.p, align 8 %22 = load double, ptr @rndgamma1.p, align 8 %23 = load double, ptr %6, align 8 %24 = load double, ptr @rndgamma1.a, align 8 %25 = fdiv double %23, %24 %26 = load double, ptr %3, align 8 %27 = fptosi double %26 to i32 %28 = call double @pow(double noundef %25, i32 noundef %27) %29 = fmul double %22, %28 store double %29, ptr @rndgamma1.uf, align 8 %30 = load double, ptr @rndgamma1.a, align 8 %31 = load double, ptr @rndgamma1.a, align 8 %32 = call double @log(double noundef %31) #4 %33 = fmul double %30, %32 store double %33, ptr @rndgamma1.d, align 8 %34 = load double, ptr %3, align 8 store double %34, ptr @rndgamma1.ss, align 8 br label %35 35: ; preds = %11, %1 br label %36 36: ; preds = %94, %35 %37 = call double (...) @seq_gen_rndu() store double %37, ptr %4, align 8 %38 = load double, ptr %4, align 8 %39 = load double, ptr @rndgamma1.p, align 8 %40 = fcmp ogt double %38, %39 br i1 %40, label %41, label %56 41: ; preds = %36 %42 = load double, ptr @rndgamma1.a, align 8 %43 = load double, ptr %4, align 8 %44 = fsub double 1.000000e+00, %43 %45 = load double, ptr @rndgamma1.p, align 8 %46 = fsub double 1.000000e+00, %45 %47 = fdiv double %44, %46 %48 = call double @log(double noundef %47) #4 %49 = fsub double %42, %48 store double %49, ptr %5, align 8 %50 = load double, ptr @rndgamma1.a, align 8 %51 = load double, ptr %5, align 8 %52 = call double @log(double noundef %51) #4 %53 = load double, ptr @rndgamma1.d, align 8 %54 = fneg double %53 %55 = call double @llvm.fmuladd.f64(double %50, double %52, double %54) store double %55, ptr %7, align 8 br label %73 56: ; preds = %36 %57 = load double, ptr %4, align 8 %58 = load double, ptr @rndgamma1.uf, align 8 %59 = fcmp ogt double %57, %58 br i1 %59, label %60, label %71 60: ; preds = %56 %61 = load double, ptr @rndgamma1.a, align 8 %62 = load double, ptr %4, align 8 %63 = load double, ptr @rndgamma1.p, align 8 %64 = fdiv double %62, %63 %65 = load double, ptr %3, align 8 %66 = fdiv double 1.000000e+00, %65 %67 = fptosi double %66 to i32 %68 = call double @pow(double noundef %64, i32 noundef %67) %69 = fmul double %61, %68 store double %69, ptr %5, align 8 %70 = load double, ptr %5, align 8 store double %70, ptr %7, align 8 br label %72 71: ; preds = %56 store double 0.000000e+00, ptr %2, align 8 br label %99 72: ; preds = %60 br label %73 73: ; preds = %72, %41 %74 = call double (...) @seq_gen_rndu() store double %74, ptr %4, align 8 %75 = load double, ptr %4, align 8 %76 = fsub double 1.000000e+00, %75 %77 = load double, ptr %7, align 8 %78 = fcmp ole double %76, %77 br i1 %78, label %79, label %.loopexit 79: ; preds = %73 %80 = load double, ptr %4, align 8 %81 = fcmp ogt double %80, 0.000000e+00 br i1 %81, label %82, label %.loopexit 82: ; preds = %79 %83 = load double, ptr %4, align 8 %84 = load double, ptr %7, align 8 %85 = fadd double %84, 1.000000e+00 %86 = fmul double %83, %85 %87 = fcmp oge double %86, 1.000000e+00 br i1 %87, label %94, label %88 88: ; preds = %82 %89 = load double, ptr %4, align 8 %90 = call double @log(double noundef %89) #4 %91 = fneg double %90 %92 = load double, ptr %7, align 8 %93 = fcmp ole double %91, %92 br i1 %93, label %94, label %95 94: ; preds = %88, %82 br label %36 95: ; preds = %88 br label %96 .loopexit: ; preds = %73, %79 br label %96 96: ; preds = %.loopexit, %95 br label %97 97: ; preds = %96 %98 = load double, ptr %5, align 8 store double %98, ptr %2, align 8 br label %99 99: ; preds = %97, %71 %100 = load double, ptr %2, align 8 ret double %100 } ; Function Attrs: nounwind declare double @exp(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @pow(double noundef, i32 noundef) #3 ; Function Attrs: nounwind declare double @log(double noundef) #1 declare double @seq_gen_rndu(...) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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"}
; ModuleID = '/tmp/tmpw2si1z8c.c' source_filename = "/tmp/tmpw2si1z8c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Console_Hex(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %2, align 8 store i64 -28, ptr %3, align 8 br label %5 5: ; preds = %35, %1 %6 = load i64, ptr %3, align 8 %7 = icmp sle i64 %6, 0 br i1 %7, label %8, label %38 8: ; preds = %5 %9 = load i64, ptr %3, align 8 %10 = icmp sge i64 %9, 0 br i1 %10, label %11, label %15 11: ; preds = %8 %12 = load i64, ptr %2, align 8 %13 = load i64, ptr %3, align 8 %14 = shl i64 %12, %13 br label %20 15: ; preds = %8 %16 = load i64, ptr %2, align 8 %17 = load i64, ptr %3, align 8 %18 = sub nsw i64 0, %17 %19 = ashr i64 %16, %18 br label %20 20: ; preds = %15, %11 %21 = phi i64 [ %14, %11 ], [ %19, %15 ] %22 = and i64 %21, 15 store i64 %22, ptr %4, align 8 %23 = load i64, ptr %4, align 8 %24 = icmp sle i64 %23, 9 br i1 %24, label %25, label %30 25: ; preds = %20 %26 = load i64, ptr %4, align 8 %27 = add nsw i64 48, %26 %28 = trunc i64 %27 to i8 %29 = call i32 @Console_Char(i8 noundef zeroext %28) br label %35 30: ; preds = %20 %31 = load i64, ptr %4, align 8 %32 = add nsw i64 55, %31 %33 = trunc i64 %32 to i8 %34 = call i32 @Console_Char(i8 noundef zeroext %33) br label %35 35: ; preds = %30, %25 %36 = load i64, ptr %3, align 8 %37 = add nsw i64 %36, 4 store i64 %37, ptr %3, align 8 br label %5, !llvm.loop !6 38: ; preds = %5 ret void } declare i32 @Console_Char(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw2si1z8c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Console_Hex(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %2, align 8 store i64 -28, ptr %3, align 8 %5 = load i64, ptr %3, align 8 %6 = icmp sle i64 %5, 0 br i1 %6, label %.lr.ph, label %39 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %34 %8 = load i64, ptr %3, align 8 %9 = icmp sge i64 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %7 %11 = load i64, ptr %2, align 8 %12 = load i64, ptr %3, align 8 %13 = shl i64 %11, %12 br label %19 14: ; preds = %7 %15 = load i64, ptr %2, align 8 %16 = load i64, ptr %3, align 8 %17 = sub nsw i64 0, %16 %18 = ashr i64 %15, %17 br label %19 19: ; preds = %14, %10 %20 = phi i64 [ %13, %10 ], [ %18, %14 ] %21 = and i64 %20, 15 store i64 %21, ptr %4, align 8 %22 = load i64, ptr %4, align 8 %23 = icmp sle i64 %22, 9 br i1 %23, label %24, label %29 24: ; preds = %19 %25 = load i64, ptr %4, align 8 %26 = add nsw i64 48, %25 %27 = trunc i64 %26 to i8 %28 = call i32 @Console_Char(i8 noundef zeroext %27) br label %34 29: ; preds = %19 %30 = load i64, ptr %4, align 8 %31 = add nsw i64 55, %30 %32 = trunc i64 %31 to i8 %33 = call i32 @Console_Char(i8 noundef zeroext %32) br label %34 34: ; preds = %29, %24 %35 = load i64, ptr %3, align 8 %36 = add nsw i64 %35, 4 store i64 %36, ptr %3, align 8 %37 = load i64, ptr %3, align 8 %38 = icmp sle i64 %37, 0 br i1 %38, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %39 39: ; preds = %._crit_edge, %1 ret void } declare i32 @Console_Char(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_okvadoz.c' source_filename = "/tmp/tmp_okvadoz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @commandRegister2(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = call i32 @outb(i8 noundef signext %3, i32 noundef 609) ret void } declare i32 @outb(i8 noundef signext, 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/tmp_okvadoz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @commandRegister2(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = call i32 @outb(i8 noundef signext %3, i32 noundef 609) ret void } declare i32 @outb(i8 noundef signext, 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/tmpgr78fd56.c' source_filename = "/tmp/tmpgr78fd56.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"my function: %d!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @my_function(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) %6 = load i32, ptr %2, align 4 ret i32 %6 } 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/tmpgr78fd56.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"my function: %d!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @my_function(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) %6 = load i32, ptr %2, align 4 ret i32 %6 } 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/tmp3mcvxy1j.c' source_filename = "/tmp/tmp3mcvxy1j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MAAllocMemoryBlock(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call ptr @MAAllocMemoryBlockEx(ptr noundef %5, i64 noundef %6, i32 noundef 0) ret ptr %7 } declare ptr @MAAllocMemoryBlockEx(ptr noundef, i64 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/tmp3mcvxy1j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MAAllocMemoryBlock(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call ptr @MAAllocMemoryBlockEx(ptr noundef %5, i64 noundef %6, i32 noundef 0) ret ptr %7 } declare ptr @MAAllocMemoryBlockEx(ptr noundef, i64 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/tmp8xy5f24f.c' source_filename = "/tmp/tmp8xy5f24f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"plain\00", align 1 @RAND_MAX = dso_local global double 0.000000e+00, align 8 @.str.1 = private unnamed_addr constant [5 x i8] c"arit\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"geom\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"abso\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"divi\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"%3s %6s %6s %6s %6s %6s\0A\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"i\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"abs\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"div\00", align 1 @.str.9 = private unnamed_addr constant [25 x i8] c"%3d %6d %6d %6d %6d %6d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [20 x i32], align 16 %7 = alloca [20 x i32], align 16 %8 = alloca [20 x i32], align 16 %9 = alloca [20 x i32], align 16 %10 = alloca [20 x i32], align 16 %11 = 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 %12 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 0 %13 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef 80) %14 = getelementptr inbounds [20 x i32], ptr %7, i64 0, i64 0 %15 = call i32 @memset(ptr noundef %14, i32 noundef 0, i32 noundef 80) %16 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 0 %17 = call i32 @memset(ptr noundef %16, i32 noundef 0, i32 noundef 80) %18 = getelementptr inbounds [20 x i32], ptr %9, i64 0, i64 0 %19 = call i32 @memset(ptr noundef %18, i32 noundef 0, i32 noundef 80) %20 = getelementptr inbounds [20 x i32], ptr %10, i64 0, i64 0 %21 = call i32 @memset(ptr noundef %20, i32 noundef 0, i32 noundef 80) %22 = load i32, ptr %4, align 4 %23 = load ptr, ptr %5, align 8 store i32 1000000, ptr %11, align 4 br label %24 24: ; preds = %28, %2 %25 = load i32, ptr %11, align 4 %26 = add nsw i32 %25, -1 store i32 %26, ptr %11, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %75 28: ; preds = %24 %29 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 0 %30 = call double (...) @random() %31 = load double, ptr @RAND_MAX, align 8 %32 = fdiv double %30, %31 %33 = fmul double %32, 2.000000e+01 %34 = call i32 @set(ptr noundef @.str, ptr noundef %29, double noundef %33) %35 = getelementptr inbounds [20 x i32], ptr %7, i64 0, i64 0 %36 = call double (...) @random() %37 = call double (...) @random() %38 = fadd double %36, %37 %39 = load double, ptr @RAND_MAX, align 8 %40 = fmul double 2.000000e+00, %39 %41 = fdiv double %38, %40 %42 = fmul double %41, 2.000000e+01 %43 = call i32 @set(ptr noundef @.str.1, ptr noundef %35, double noundef %42) %44 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 0 %45 = call double (...) @random() %46 = call double (...) @random() %47 = fmul double %45, %46 %48 = call double @sqrt(double noundef %47) #3 %49 = load double, ptr @RAND_MAX, align 8 %50 = fdiv double %48, %49 %51 = fmul double %50, 2.000000e+01 %52 = call i32 @set(ptr noundef @.str.2, ptr noundef %44, double noundef %51) %53 = getelementptr inbounds [20 x i32], ptr %9, i64 0, i64 0 %54 = call double (...) @random() %55 = call double (...) @random() %56 = fadd double %54, %55 %57 = load double, ptr @RAND_MAX, align 8 %58 = fsub double %56, %57 %59 = call i64 @abs(double noundef %58) %60 = sitofp i64 %59 to double %61 = load double, ptr @RAND_MAX, align 8 %62 = fdiv double %60, %61 %63 = fmul double %62, 2.000000e+01 %64 = call i32 @set(ptr noundef @.str.3, ptr noundef %53, double noundef %63) %65 = getelementptr inbounds [20 x i32], ptr %10, i64 0, i64 0 %66 = call double (...) @random() %67 = call double (...) @random() %68 = fmul double %66, %67 %69 = load double, ptr @RAND_MAX, align 8 %70 = load double, ptr @RAND_MAX, align 8 %71 = fmul double %69, %70 %72 = fdiv double %68, %71 %73 = fmul double %72, 2.000000e+01 %74 = call i32 @set(ptr noundef @.str.4, ptr noundef %65, double noundef %73) br label %24, !llvm.loop !6 75: ; preds = %24 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.6, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.7, ptr noundef @.str.8) store i32 0, ptr %11, align 4 br label %77 77: ; preds = %103, %75 %78 = load i32, ptr %11, align 4 %79 = icmp slt i32 %78, 20 br i1 %79, label %80, label %106 80: ; preds = %77 %81 = load i32, ptr %11, align 4 %82 = load i32, ptr %11, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %83 %85 = load i32, ptr %84, align 4 %86 = load i32, ptr %11, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [20 x i32], ptr %7, i64 0, i64 %87 %89 = load i32, ptr %88, align 4 %90 = load i32, ptr %11, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %91 %93 = load i32, ptr %92, align 4 %94 = load i32, ptr %11, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [20 x i32], ptr %9, i64 0, i64 %95 %97 = load i32, ptr %96, align 4 %98 = load i32, ptr %11, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds [20 x i32], ptr %10, i64 0, i64 %99 %101 = load i32, ptr %100, align 4 %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %81, i32 noundef %85, i32 noundef %89, i32 noundef %93, i32 noundef %97, i32 noundef %101) br label %103 103: ; preds = %80 %104 = load i32, ptr %11, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %11, align 4 br label %77, !llvm.loop !8 106: ; preds = %77 ret i32 0 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @set(ptr noundef, ptr noundef, double noundef) #1 declare double @random(...) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 declare i64 @abs(double 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" } attributes #2 = { 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 #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8xy5f24f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"plain\00", align 1 @RAND_MAX = dso_local global double 0.000000e+00, align 8 @.str.1 = private unnamed_addr constant [5 x i8] c"arit\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"geom\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"abso\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"divi\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"%3s %6s %6s %6s %6s %6s\0A\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"i\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"abs\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"div\00", align 1 @.str.9 = private unnamed_addr constant [25 x i8] c"%3d %6d %6d %6d %6d %6d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [20 x i32], align 16 %7 = alloca [20 x i32], align 16 %8 = alloca [20 x i32], align 16 %9 = alloca [20 x i32], align 16 %10 = alloca [20 x i32], align 16 %11 = 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 %12 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 0 %13 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef 80) %14 = getelementptr inbounds [20 x i32], ptr %7, i64 0, i64 0 %15 = call i32 @memset(ptr noundef %14, i32 noundef 0, i32 noundef 80) %16 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 0 %17 = call i32 @memset(ptr noundef %16, i32 noundef 0, i32 noundef 80) %18 = getelementptr inbounds [20 x i32], ptr %9, i64 0, i64 0 %19 = call i32 @memset(ptr noundef %18, i32 noundef 0, i32 noundef 80) %20 = getelementptr inbounds [20 x i32], ptr %10, i64 0, i64 0 %21 = call i32 @memset(ptr noundef %20, i32 noundef 0, i32 noundef 80) %22 = load i32, ptr %4, align 4 %23 = load ptr, ptr %5, align 8 store i32 1000000, ptr %11, align 4 %24 = load i32, ptr %11, align 4 %25 = add nsw i32 %24, -1 store i32 %25, ptr %11, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %.lr.ph, label %77 .lr.ph: ; preds = %2 br label %27 27: ; preds = %.lr.ph, %27 %28 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 0 %29 = call double (...) @random() %30 = load double, ptr @RAND_MAX, align 8 %31 = fdiv double %29, %30 %32 = fmul double %31, 2.000000e+01 %33 = call i32 @set(ptr noundef @.str, ptr noundef %28, double noundef %32) %34 = getelementptr inbounds [20 x i32], ptr %7, i64 0, i64 0 %35 = call double (...) @random() %36 = call double (...) @random() %37 = fadd double %35, %36 %38 = load double, ptr @RAND_MAX, align 8 %39 = fmul double 2.000000e+00, %38 %40 = fdiv double %37, %39 %41 = fmul double %40, 2.000000e+01 %42 = call i32 @set(ptr noundef @.str.1, ptr noundef %34, double noundef %41) %43 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 0 %44 = call double (...) @random() %45 = call double (...) @random() %46 = fmul double %44, %45 %47 = call double @sqrt(double noundef %46) #3 %48 = load double, ptr @RAND_MAX, align 8 %49 = fdiv double %47, %48 %50 = fmul double %49, 2.000000e+01 %51 = call i32 @set(ptr noundef @.str.2, ptr noundef %43, double noundef %50) %52 = getelementptr inbounds [20 x i32], ptr %9, i64 0, i64 0 %53 = call double (...) @random() %54 = call double (...) @random() %55 = fadd double %53, %54 %56 = load double, ptr @RAND_MAX, align 8 %57 = fsub double %55, %56 %58 = call i64 @abs(double noundef %57) %59 = sitofp i64 %58 to double %60 = load double, ptr @RAND_MAX, align 8 %61 = fdiv double %59, %60 %62 = fmul double %61, 2.000000e+01 %63 = call i32 @set(ptr noundef @.str.3, ptr noundef %52, double noundef %62) %64 = getelementptr inbounds [20 x i32], ptr %10, i64 0, i64 0 %65 = call double (...) @random() %66 = call double (...) @random() %67 = fmul double %65, %66 %68 = load double, ptr @RAND_MAX, align 8 %69 = load double, ptr @RAND_MAX, align 8 %70 = fmul double %68, %69 %71 = fdiv double %67, %70 %72 = fmul double %71, 2.000000e+01 %73 = call i32 @set(ptr noundef @.str.4, ptr noundef %64, double noundef %72) %74 = load i32, ptr %11, align 4 %75 = add nsw i32 %74, -1 store i32 %75, ptr %11, align 4 %76 = icmp ne i32 %75, 0 br i1 %76, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %77 77: ; preds = %._crit_edge, %2 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.6, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.7, ptr noundef @.str.8) store i32 0, ptr %11, align 4 %79 = load i32, ptr %11, align 4 %80 = icmp slt i32 %79, 20 br i1 %80, label %.lr.ph2, label %109 .lr.ph2: ; preds = %77 br label %81 81: ; preds = %.lr.ph2, %104 %82 = load i32, ptr %11, align 4 %83 = load i32, ptr %11, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %84 %86 = load i32, ptr %85, align 4 %87 = load i32, ptr %11, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [20 x i32], ptr %7, i64 0, i64 %88 %90 = load i32, ptr %89, align 4 %91 = load i32, ptr %11, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %92 %94 = load i32, ptr %93, align 4 %95 = load i32, ptr %11, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds [20 x i32], ptr %9, i64 0, i64 %96 %98 = load i32, ptr %97, align 4 %99 = load i32, ptr %11, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [20 x i32], ptr %10, i64 0, i64 %100 %102 = load i32, ptr %101, align 4 %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %82, i32 noundef %86, i32 noundef %90, i32 noundef %94, i32 noundef %98, i32 noundef %102) br label %104 104: ; preds = %81 %105 = load i32, ptr %11, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %11, align 4 %107 = load i32, ptr %11, align 4 %108 = icmp slt i32 %107, 20 br i1 %108, label %81, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %104 br label %109 109: ; preds = %._crit_edge3, %77 ret i32 0 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @set(ptr noundef, ptr noundef, double noundef) #1 declare double @random(...) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 declare i64 @abs(double 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" } attributes #2 = { 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 #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp8u2fcp0y.c' source_filename = "/tmp/tmp8u2fcp0y.c" target datalayout = "e-m:e-p270: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/tmp8u2fcp0y.c" target datalayout = "e-m:e-p270: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/tmppkhz6tcy.c' source_filename = "/tmp/tmppkhz6tcy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%u\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 i32], align 4 %7 = alloca [1 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @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 %37 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) %30 = trunc i64 %29 to i32 store i32 %30, ptr %9, align 4 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %33 store i32 %31, ptr %34, align 4 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %19, !llvm.loop !6 37: ; preds = %19 %38 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %42 = load i32, ptr %41, align 4 %43 = icmp eq i32 %42, -1224506420 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 br label %48 48: ; preds = %51, %47 %49 = load i32, ptr %10, align 4 %50 = icmp slt i32 %49, 1 br i1 %50, label %51, label %59 51: ; preds = %48 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55) %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %10, align 4 br label %48, !llvm.loop !8 59: ; preds = %48 %60 = load i32, ptr %3, align 4 ret i32 %60 } 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/tmppkhz6tcy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%u\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 i32], align 4 %7 = alloca [1 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @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 %38 .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) %29 = trunc i64 %28 to i32 store i32 %29, ptr %9, align 4 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %32 store i32 %30, ptr %33, align 4 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 1 br i1 %37, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %38 38: ; preds = %._crit_edge, %18 %39 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40) %42 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %43 = load i32, ptr %42, align 4 %44 = icmp eq i32 %43, -1224506420 br i1 %44, label %45, label %47 45: ; preds = %38 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 47: ; preds = %38 br label %48 48: ; preds = %47, %45 store i32 0, ptr %10, align 4 %49 = load i32, ptr %10, align 4 %50 = icmp slt i32 %49, 1 br i1 %50, label %.lr.ph2, label %61 .lr.ph2: ; preds = %48 br label %51 51: ; preds = %.lr.ph2, %51 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55) %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %10, align 4 %59 = load i32, ptr %10, align 4 %60 = icmp slt i32 %59, 1 br i1 %60, label %51, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %51 br label %61 61: ; preds = %._crit_edge3, %48 %62 = load i32, ptr %3, align 4 ret i32 %62 } 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/tmprm134vjb.c' source_filename = "/tmp/tmprm134vjb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Joy_Beta_Fire2(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp ne i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 @cpc_key_press(i32 noundef 101) br label %9 7: ; preds = %1 %8 = call i32 @cpc_key_unpress(i32 noundef 101) br label %9 9: ; preds = %7, %5 ret void } declare i32 @cpc_key_press(i32 noundef) #1 declare i32 @cpc_key_unpress(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/tmprm134vjb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Joy_Beta_Fire2(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp ne i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 @cpc_key_press(i32 noundef 101) br label %9 7: ; preds = %1 %8 = call i32 @cpc_key_unpress(i32 noundef 101) br label %9 9: ; preds = %7, %5 ret void } declare i32 @cpc_key_press(i32 noundef) #1 declare i32 @cpc_key_unpress(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/tmpnrg2a11s.c' source_filename = "/tmp/tmpnrg2a11s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GenPrintInstr2Operands(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %13 = load i32, ptr %11, align 4 %14 = icmp eq i32 %13, 13 br i1 %14, label %15, label %26 15: ; preds = %6 %16 = load i32, ptr %12, align 4 %17 = call i64 @truncUint(i32 noundef %16) %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %26 19: ; preds = %15 %20 = load i32, ptr %7, align 4 %21 = icmp eq i32 %20, 9 br i1 %21, label %25, label %22 22: ; preds = %19 %23 = load i32, ptr %7, align 4 %24 = icmp eq i32 %23, 10 br i1 %24, label %25, label %26 25: ; preds = %22, %19 br label %74 26: ; preds = %22, %15, %6 %27 = load i32, ptr %11, align 4 %28 = icmp eq i32 %27, 13 br i1 %28, label %29, label %62 29: ; preds = %26 %30 = load i32, ptr %12, align 4 %31 = icmp eq i32 %30, 1 br i1 %31, label %35, label %32 32: ; preds = %29 %33 = load i32, ptr %12, align 4 %34 = icmp eq i32 %33, -1 br i1 %34, label %35, label %62 35: ; preds = %32, %29 %36 = load i32, ptr %7, align 4 %37 = icmp eq i32 %36, 9 br i1 %37, label %41, label %38 38: ; preds = %35 %39 = load i32, ptr %7, align 4 %40 = icmp eq i32 %39, 10 br i1 %40, label %41, label %62 41: ; preds = %38, %35 %42 = load i32, ptr %12, align 4 %43 = icmp eq i32 %42, 1 br i1 %43, label %44, label %47 44: ; preds = %41 %45 = load i32, ptr %7, align 4 %46 = icmp eq i32 %45, 9 br i1 %46, label %53, label %47 47: ; preds = %44, %41 %48 = load i32, ptr %12, align 4 %49 = icmp eq i32 %48, -1 br i1 %49, label %50, label %55 50: ; preds = %47 %51 = load i32, ptr %7, align 4 %52 = icmp eq i32 %51, 10 br i1 %52, label %53, label %55 53: ; preds = %50, %44 %54 = call i32 @GenPrintInstr(i32 noundef 7, i32 noundef 0) br label %57 55: ; preds = %50, %47 %56 = call i32 @GenPrintInstr(i32 noundef 8, i32 noundef 0) br label %57 57: ; preds = %55, %53 %58 = load i32, ptr %9, align 4 %59 = load i32, ptr %10, align 4 %60 = call i32 @GenPrintOperand(i32 noundef %58, i32 noundef %59) %61 = call i32 (...) @GenPrintNewLine() br label %74 62: ; preds = %38, %32, %26 %63 = load i32, ptr %7, align 4 %64 = load i32, ptr %8, align 4 %65 = call i32 @GenPrintInstr(i32 noundef %63, i32 noundef %64) %66 = load i32, ptr %9, align 4 %67 = load i32, ptr %10, align 4 %68 = call i32 @GenPrintOperand(i32 noundef %66, i32 noundef %67) %69 = call i32 (...) @GenPrintOperandSeparator() %70 = load i32, ptr %11, align 4 %71 = load i32, ptr %12, align 4 %72 = call i32 @GenPrintOperand(i32 noundef %70, i32 noundef %71) %73 = call i32 (...) @GenPrintNewLine() br label %74 74: ; preds = %62, %57, %25 ret void } declare i64 @truncUint(i32 noundef) #1 declare i32 @GenPrintInstr(i32 noundef, i32 noundef) #1 declare i32 @GenPrintOperand(i32 noundef, i32 noundef) #1 declare i32 @GenPrintNewLine(...) #1 declare i32 @GenPrintOperandSeparator(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnrg2a11s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GenPrintInstr2Operands(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %13 = load i32, ptr %11, align 4 %14 = icmp eq i32 %13, 13 br i1 %14, label %15, label %26 15: ; preds = %6 %16 = load i32, ptr %12, align 4 %17 = call i64 @truncUint(i32 noundef %16) %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %26 19: ; preds = %15 %20 = load i32, ptr %7, align 4 %21 = icmp eq i32 %20, 9 br i1 %21, label %25, label %22 22: ; preds = %19 %23 = load i32, ptr %7, align 4 %24 = icmp eq i32 %23, 10 br i1 %24, label %25, label %26 25: ; preds = %22, %19 br label %74 26: ; preds = %22, %15, %6 %27 = load i32, ptr %11, align 4 %28 = icmp eq i32 %27, 13 br i1 %28, label %29, label %62 29: ; preds = %26 %30 = load i32, ptr %12, align 4 %31 = icmp eq i32 %30, 1 br i1 %31, label %35, label %32 32: ; preds = %29 %33 = load i32, ptr %12, align 4 %34 = icmp eq i32 %33, -1 br i1 %34, label %35, label %62 35: ; preds = %32, %29 %36 = load i32, ptr %7, align 4 %37 = icmp eq i32 %36, 9 br i1 %37, label %41, label %38 38: ; preds = %35 %39 = load i32, ptr %7, align 4 %40 = icmp eq i32 %39, 10 br i1 %40, label %41, label %62 41: ; preds = %38, %35 %42 = load i32, ptr %12, align 4 %43 = icmp eq i32 %42, 1 br i1 %43, label %44, label %47 44: ; preds = %41 %45 = load i32, ptr %7, align 4 %46 = icmp eq i32 %45, 9 br i1 %46, label %53, label %47 47: ; preds = %44, %41 %48 = load i32, ptr %12, align 4 %49 = icmp eq i32 %48, -1 br i1 %49, label %50, label %55 50: ; preds = %47 %51 = load i32, ptr %7, align 4 %52 = icmp eq i32 %51, 10 br i1 %52, label %53, label %55 53: ; preds = %50, %44 %54 = call i32 @GenPrintInstr(i32 noundef 7, i32 noundef 0) br label %57 55: ; preds = %50, %47 %56 = call i32 @GenPrintInstr(i32 noundef 8, i32 noundef 0) br label %57 57: ; preds = %55, %53 %58 = load i32, ptr %9, align 4 %59 = load i32, ptr %10, align 4 %60 = call i32 @GenPrintOperand(i32 noundef %58, i32 noundef %59) %61 = call i32 (...) @GenPrintNewLine() br label %74 62: ; preds = %38, %32, %26 %63 = load i32, ptr %7, align 4 %64 = load i32, ptr %8, align 4 %65 = call i32 @GenPrintInstr(i32 noundef %63, i32 noundef %64) %66 = load i32, ptr %9, align 4 %67 = load i32, ptr %10, align 4 %68 = call i32 @GenPrintOperand(i32 noundef %66, i32 noundef %67) %69 = call i32 (...) @GenPrintOperandSeparator() %70 = load i32, ptr %11, align 4 %71 = load i32, ptr %12, align 4 %72 = call i32 @GenPrintOperand(i32 noundef %70, i32 noundef %71) %73 = call i32 (...) @GenPrintNewLine() br label %74 74: ; preds = %62, %57, %25 ret void } declare i64 @truncUint(i32 noundef) #1 declare i32 @GenPrintInstr(i32 noundef, i32 noundef) #1 declare i32 @GenPrintOperand(i32 noundef, i32 noundef) #1 declare i32 @GenPrintNewLine(...) #1 declare i32 @GenPrintOperandSeparator(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpruhk89c3.c' source_filename = "/tmp/tmpruhk89c3.c" target datalayout = "e-m:e-p270: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 [18 x i8] c"slist_del failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call ptr (...) @slist_init() store ptr %4, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %12, %0 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 10 br i1 %7, label %8, label %15 8: ; preds = %5 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %3, align 4 %11 = call i32 @slist_add_tail(ptr noundef %9, i32 noundef %10) br label %12 12: ; preds = %8 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %3, align 4 br label %5, !llvm.loop !6 15: ; preds = %5 %16 = load ptr, ptr %2, align 8 %17 = call i64 @slist_del(ptr noundef %16, i32 noundef 5) %18 = icmp slt i64 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %15 %20 = load i32, ptr @stderr, align 4 %21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str) %22 = call i32 @exit(i32 noundef 1) #3 unreachable 23: ; preds = %15 %24 = load ptr, ptr %2, align 8 %25 = call i32 @slist_invert(ptr noundef %24) %26 = load ptr, ptr %2, align 8 %27 = call i32 @slist_for_each(ptr noundef %26) %28 = call i32 @printf(ptr noundef @.str.1) ret i32 0 } declare ptr @slist_init(...) #1 declare i32 @slist_add_tail(ptr noundef, i32 noundef) #1 declare i64 @slist_del(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @slist_invert(ptr noundef) #1 declare i32 @slist_for_each(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" } 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/tmpruhk89c3.c" target datalayout = "e-m:e-p270: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 [18 x i8] c"slist_del failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call ptr (...) @slist_init() store ptr %4, ptr %2, align 8 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 10 br i1 %6, label %.lr.ph, label %16 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %11 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %3, align 4 %10 = call i32 @slist_add_tail(ptr noundef %8, i32 noundef %9) br label %11 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %14, 10 br i1 %15, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %16 16: ; preds = %._crit_edge, %0 %17 = load ptr, ptr %2, align 8 %18 = call i64 @slist_del(ptr noundef %17, i32 noundef 5) %19 = icmp slt i64 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %16 %21 = load i32, ptr @stderr, align 4 %22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str) %23 = call i32 @exit(i32 noundef 1) #3 unreachable 24: ; preds = %16 %25 = load ptr, ptr %2, align 8 %26 = call i32 @slist_invert(ptr noundef %25) %27 = load ptr, ptr %2, align 8 %28 = call i32 @slist_for_each(ptr noundef %27) %29 = call i32 @printf(ptr noundef @.str.1) ret i32 0 } declare ptr @slist_init(...) #1 declare i32 @slist_add_tail(ptr noundef, i32 noundef) #1 declare i64 @slist_del(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @slist_invert(ptr noundef) #1 declare i32 @slist_for_each(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" } 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/tmpxpp06r23.c' source_filename = "/tmp/tmpxpp06r23.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @serve_file(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [1024 x i8], align 16 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store ptr null, ptr %5, align 8 store i32 1, ptr %6, align 4 %8 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 store i8 65, ptr %8, align 16 %9 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 1 store i8 0, ptr %9, align 1 br label %10 10: ; preds = %19, %2 %11 = load i32, ptr %6, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %10 %14 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %15 = call i64 @strcmp(ptr noundef @.str, ptr noundef %14) %16 = icmp ne i64 %15, 0 br label %17 17: ; preds = %13, %10 %18 = phi i1 [ false, %10 ], [ %16, %13 ] br i1 %18, label %19, label %23 19: ; preds = %17 %20 = load i32, ptr %3, align 4 %21 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %22 = call i32 @get_line(i32 noundef %20, ptr noundef %21, i32 noundef 1024) store i32 %22, ptr %6, align 4 br label %10, !llvm.loop !6 23: ; preds = %17 %24 = load ptr, ptr %4, align 8 %25 = call ptr @fopen(ptr noundef %24, ptr noundef @.str.1) store ptr %25, ptr %5, align 8 %26 = load ptr, ptr %5, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %31 28: ; preds = %23 %29 = load i32, ptr %3, align 4 %30 = call i32 @not_found(i32 noundef %29) br label %38 31: ; preds = %23 %32 = load i32, ptr %3, align 4 %33 = load ptr, ptr %4, align 8 %34 = call i32 @headers(i32 noundef %32, ptr noundef %33) %35 = load i32, ptr %3, align 4 %36 = load ptr, ptr %5, align 8 %37 = call i32 @cat(i32 noundef %35, ptr noundef %36) br label %38 38: ; preds = %31, %28 %39 = load ptr, ptr %5, align 8 %40 = call i32 @fclose(ptr noundef %39) ret void } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @get_line(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @not_found(i32 noundef) #1 declare i32 @headers(i32 noundef, ptr noundef) #1 declare i32 @cat(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/tmpxpp06r23.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @serve_file(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [1024 x i8], align 16 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store ptr null, ptr %5, align 8 store i32 1, ptr %6, align 4 %8 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 store i8 65, ptr %8, align 16 %9 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 1 store i8 0, ptr %9, align 1 br label %10 10: ; preds = %19, %2 %11 = load i32, ptr %6, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %10 %14 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %15 = call i64 @strcmp(ptr noundef @.str, ptr noundef %14) %16 = icmp ne i64 %15, 0 br label %17 17: ; preds = %13, %10 %18 = phi i1 [ false, %10 ], [ %16, %13 ] br i1 %18, label %19, label %23 19: ; preds = %17 %20 = load i32, ptr %3, align 4 %21 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %22 = call i32 @get_line(i32 noundef %20, ptr noundef %21, i32 noundef 1024) store i32 %22, ptr %6, align 4 br label %10, !llvm.loop !6 23: ; preds = %17 %24 = load ptr, ptr %4, align 8 %25 = call ptr @fopen(ptr noundef %24, ptr noundef @.str.1) store ptr %25, ptr %5, align 8 %26 = load ptr, ptr %5, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %31 28: ; preds = %23 %29 = load i32, ptr %3, align 4 %30 = call i32 @not_found(i32 noundef %29) br label %38 31: ; preds = %23 %32 = load i32, ptr %3, align 4 %33 = load ptr, ptr %4, align 8 %34 = call i32 @headers(i32 noundef %32, ptr noundef %33) %35 = load i32, ptr %3, align 4 %36 = load ptr, ptr %5, align 8 %37 = call i32 @cat(i32 noundef %35, ptr noundef %36) br label %38 38: ; preds = %31, %28 %39 = load ptr, ptr %5, align 8 %40 = call i32 @fclose(ptr noundef %39) ret void } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @get_line(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @not_found(i32 noundef) #1 declare i32 @headers(i32 noundef, ptr noundef) #1 declare i32 @cat(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/tmpe8z11ke3.c' source_filename = "/tmp/tmpe8z11ke3.c" target datalayout = "e-m:e-p270: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/tmpe8z11ke3.c" target datalayout = "e-m:e-p270: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/tmpocqypj6q.c' source_filename = "/tmp/tmpocqypj6q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PutLong(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 i32, ptr %5, align 4 %7 = and i32 %6, 255 %8 = load ptr, ptr %4, align 8 %9 = call i32 @fputc(i32 noundef %7, ptr noundef %8) %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %10, align 4 %12 = lshr i32 %11, 8 %13 = and i32 %12, 255 %14 = load ptr, ptr %4, align 8 %15 = call i32 @fputc(i32 noundef %13, ptr noundef %14) %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %16, align 4 %18 = lshr i32 %17, 16 %19 = and i32 %18, 255 %20 = load ptr, ptr %4, align 8 %21 = call i32 @fputc(i32 noundef %19, ptr noundef %20) %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %22, align 4 %24 = lshr i32 %23, 24 %25 = and i32 %24, 255 %26 = load ptr, ptr %4, align 8 %27 = call i32 @fputc(i32 noundef %25, ptr noundef %26) ret void } declare i32 @fputc(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/tmpocqypj6q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PutLong(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 i32, ptr %5, align 4 %7 = and i32 %6, 255 %8 = load ptr, ptr %4, align 8 %9 = call i32 @fputc(i32 noundef %7, ptr noundef %8) %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %10, align 4 %12 = lshr i32 %11, 8 %13 = and i32 %12, 255 %14 = load ptr, ptr %4, align 8 %15 = call i32 @fputc(i32 noundef %13, ptr noundef %14) %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %16, align 4 %18 = lshr i32 %17, 16 %19 = and i32 %18, 255 %20 = load ptr, ptr %4, align 8 %21 = call i32 @fputc(i32 noundef %19, ptr noundef %20) %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %22, align 4 %24 = lshr i32 %23, 24 %25 = and i32 %24, 255 %26 = load ptr, ptr %4, align 8 %27 = call i32 @fputc(i32 noundef %25, ptr noundef %26) ret void } declare i32 @fputc(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/tmpwcdk5auu.c' source_filename = "/tmp/tmpwcdk5auu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Alocacao efetuada\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%f\0A%f\0A%f\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"Fim\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = call i64 @_mm_malloc(i32 noundef 400000000, i32 noundef 16) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %2, align 8 %11 = call i64 @_mm_malloc(i32 noundef 400000000, i32 noundef 16) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %3, align 8 %13 = call i64 @_mm_malloc(i32 noundef 400000000, i32 noundef 16) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %4, align 8 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds float, ptr %15, i64 0 store float 0x3FF3333340000000, ptr %16, align 4 %17 = load ptr, ptr %3, align 8 %18 = getelementptr inbounds float, ptr %17, i64 0 store float 4.500000e+00, ptr %18, align 4 %19 = load ptr, ptr %2, align 8 %20 = getelementptr inbounds float, ptr %19, i64 1 store float 5.000000e-01, ptr %20, align 4 %21 = load ptr, ptr %3, align 8 %22 = getelementptr inbounds float, ptr %21, i64 1 store float 0x3FE6666660000000, ptr %22, align 4 %23 = load ptr, ptr %2, align 8 %24 = getelementptr inbounds float, ptr %23, i64 2 store float 1.500000e+00, ptr %24, align 4 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds float, ptr %25, i64 2 store float 0x3FFB333340000000, ptr %26, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str) %28 = load ptr, ptr %2, align 8 %29 = load ptr, ptr %3, align 8 %30 = load ptr, ptr %4, align 8 %31 = call i32 @sumvetsse(ptr noundef %28, ptr noundef %29, ptr noundef %30, i32 noundef 100000000) %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds float, ptr %32, i64 0 %34 = load float, ptr %33, align 4 %35 = fpext float %34 to double %36 = load ptr, ptr %4, align 8 %37 = getelementptr inbounds float, ptr %36, i64 1 %38 = load float, ptr %37, align 4 %39 = fpext float %38 to double %40 = load ptr, ptr %4, align 8 %41 = getelementptr inbounds float, ptr %40, i64 2 %42 = load float, ptr %41, align 4 %43 = fpext float %42 to double %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %35, double noundef %39, double noundef %43) %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret i32 0 } declare i64 @_mm_malloc(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sumvetsse(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/tmpwcdk5auu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Alocacao efetuada\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%f\0A%f\0A%f\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"Fim\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = call i64 @_mm_malloc(i32 noundef 400000000, i32 noundef 16) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %2, align 8 %11 = call i64 @_mm_malloc(i32 noundef 400000000, i32 noundef 16) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %3, align 8 %13 = call i64 @_mm_malloc(i32 noundef 400000000, i32 noundef 16) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %4, align 8 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds float, ptr %15, i64 0 store float 0x3FF3333340000000, ptr %16, align 4 %17 = load ptr, ptr %3, align 8 %18 = getelementptr inbounds float, ptr %17, i64 0 store float 4.500000e+00, ptr %18, align 4 %19 = load ptr, ptr %2, align 8 %20 = getelementptr inbounds float, ptr %19, i64 1 store float 5.000000e-01, ptr %20, align 4 %21 = load ptr, ptr %3, align 8 %22 = getelementptr inbounds float, ptr %21, i64 1 store float 0x3FE6666660000000, ptr %22, align 4 %23 = load ptr, ptr %2, align 8 %24 = getelementptr inbounds float, ptr %23, i64 2 store float 1.500000e+00, ptr %24, align 4 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds float, ptr %25, i64 2 store float 0x3FFB333340000000, ptr %26, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str) %28 = load ptr, ptr %2, align 8 %29 = load ptr, ptr %3, align 8 %30 = load ptr, ptr %4, align 8 %31 = call i32 @sumvetsse(ptr noundef %28, ptr noundef %29, ptr noundef %30, i32 noundef 100000000) %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds float, ptr %32, i64 0 %34 = load float, ptr %33, align 4 %35 = fpext float %34 to double %36 = load ptr, ptr %4, align 8 %37 = getelementptr inbounds float, ptr %36, i64 1 %38 = load float, ptr %37, align 4 %39 = fpext float %38 to double %40 = load ptr, ptr %4, align 8 %41 = getelementptr inbounds float, ptr %40, i64 2 %42 = load float, ptr %41, align 4 %43 = fpext float %42 to double %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %35, double noundef %39, double noundef %43) %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret i32 0 } declare i64 @_mm_malloc(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sumvetsse(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/tmpz8xp7yhr.c' source_filename = "/tmp/tmpz8xp7yhr.c" target datalayout = "e-m:e-p270: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/tmpz8xp7yhr.c" target datalayout = "e-m:e-p270: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/tmpymeswjnf.c' source_filename = "/tmp/tmpymeswjnf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"not used\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @do_not_used() #0 { %1 = call i32 @evil_exception(ptr noundef @.str, i32 noundef 5) %2 = call i32 (...) @finish_exception() ret void } declare i32 @evil_exception(ptr noundef, i32 noundef) #1 declare i32 @finish_exception(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpymeswjnf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"not used\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @do_not_used() #0 { %1 = call i32 @evil_exception(ptr noundef @.str, i32 noundef 5) %2 = call i32 (...) @finish_exception() ret void } declare i32 @evil_exception(ptr noundef, i32 noundef) #1 declare i32 @finish_exception(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8vbhk6_r.c' source_filename = "/tmp/tmp8vbhk6_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"%s'address = %p\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printfMmapAddr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @printf(ptr noundef @.str, ptr noundef %5, ptr noundef %6) ret void } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8vbhk6_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"%s'address = %p\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printfMmapAddr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @printf(ptr noundef @.str, ptr noundef %5, ptr noundef %6) ret void } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbl8ubwu3.c' source_filename = "/tmp/tmpbl8ubwu3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"?6\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @decom(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp ne i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 @sm(ptr noundef @.str) br label %9 7: ; preds = %1 %8 = call i32 @rm(ptr noundef @.str) br label %9 9: ; preds = %7, %5 ret void } declare i32 @sm(ptr noundef) #1 declare i32 @rm(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbl8ubwu3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"?6\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @decom(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp ne i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 @sm(ptr noundef @.str) br label %9 7: ; preds = %1 %8 = call i32 @rm(ptr noundef @.str) br label %9 9: ; preds = %7, %5 ret void } declare i32 @sm(ptr noundef) #1 declare i32 @rm(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp97xc1x_y.c' source_filename = "/tmp/tmp97xc1x_y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%.1f, \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"\09\09\09\09%.2g\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @meltsMmajors(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, 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 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %14 14: ; preds = %24, %1 %15 = load i32, ptr %3, align 4 %16 = icmp slt i32 %15, 9 br i1 %16, label %17, label %27 17: ; preds = %14 %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %3, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds double, ptr %18, i64 %20 %22 = load double, ptr %21, align 8 %23 = call i32 @printf(ptr noundef @.str, double noundef %22) br label %24 24: ; preds = %17 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 br label %14, !llvm.loop !6 27: ; preds = %14 %28 = load ptr, ptr %2, align 8 %29 = getelementptr inbounds double, ptr %28, i64 0 %30 = load double, ptr %29, align 8 %31 = fdiv double %30, 0x404E0AA64C2F837B store double %31, ptr %4, align 8 %32 = load ptr, ptr %2, align 8 %33 = getelementptr inbounds double, ptr %32, i64 1 %34 = load double, ptr %33, align 8 %35 = fdiv double %34, 0x4053F7694467381D store double %35, ptr %5, align 8 %36 = load ptr, ptr %2, align 8 %37 = getelementptr inbounds double, ptr %36, i64 2 %38 = load double, ptr %37, align 8 %39 = fdiv double %38, 0x40497D844D013A92 store double %39, ptr %6, align 8 %40 = load ptr, ptr %2, align 8 %41 = getelementptr inbounds double, ptr %40, i64 3 %42 = load double, ptr %41, align 8 %43 = fdiv double %42, 7.984410e+01 %44 = load ptr, ptr %2, align 8 %45 = getelementptr inbounds double, ptr %44, i64 4 %46 = load double, ptr %45, align 8 %47 = fdiv double %46, 7.184440e+01 %48 = fadd double %43, %47 store double %48, ptr %7, align 8 %49 = load ptr, ptr %2, align 8 %50 = getelementptr inbounds double, ptr %49, i64 5 %51 = load double, ptr %50, align 8 %52 = fdiv double %51, 4.030440e+01 store double %52, ptr %8, align 8 %53 = load ptr, ptr %2, align 8 %54 = getelementptr inbounds double, ptr %53, i64 6 %55 = load double, ptr %54, align 8 %56 = fdiv double %55, 0x404C09E83E425AEF store double %56, ptr %9, align 8 %57 = load ptr, ptr %2, align 8 %58 = getelementptr inbounds double, ptr %57, i64 7 %59 = load double, ptr %58, align 8 %60 = fdiv double %59, 3.098950e+01 store double %60, ptr %10, align 8 %61 = load ptr, ptr %2, align 8 %62 = getelementptr inbounds double, ptr %61, i64 8 %63 = load double, ptr %62, align 8 %64 = fdiv double %63, 4.709800e+01 store double %64, ptr %11, align 8 %65 = load double, ptr %4, align 8 %66 = load double, ptr %5, align 8 %67 = fadd double %65, %66 %68 = load double, ptr %6, align 8 %69 = fadd double %67, %68 %70 = load double, ptr %7, align 8 %71 = fadd double %69, %70 %72 = load double, ptr %8, align 8 %73 = fadd double %71, %72 %74 = load double, ptr %9, align 8 %75 = fadd double %73, %74 %76 = load double, ptr %10, align 8 %77 = fadd double %75, %76 %78 = load double, ptr %11, align 8 %79 = fadd double %77, %78 store double %79, ptr %12, align 8 %80 = load double, ptr %10, align 8 %81 = load double, ptr %11, align 8 %82 = fadd double %80, %81 %83 = load double, ptr %9, align 8 %84 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %83, double %82) %85 = load double, ptr %6, align 8 %86 = load double, ptr %4, align 8 %87 = fmul double %85, %86 %88 = fdiv double %84, %87 %89 = load double, ptr %12, align 8 %90 = fmul double %88, %89 store double %90, ptr %13, align 8 %91 = load double, ptr %13, align 8 %92 = call i32 @printf(ptr noundef @.str.1, double noundef %91) %93 = load double, ptr %13, align 8 ret double %93 } declare i32 @printf(ptr noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp97xc1x_y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%.1f, \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"\09\09\09\09%.2g\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @meltsMmajors(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, 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 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %14, 9 br i1 %15, label %.lr.ph, label %28 .lr.ph: ; preds = %1 br label %16 16: ; preds = %.lr.ph, %23 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %3, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds double, ptr %17, i64 %19 %21 = load double, ptr %20, align 8 %22 = call i32 @printf(ptr noundef @.str, double noundef %21) br label %23 23: ; preds = %16 %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 = icmp slt i32 %26, 9 br i1 %27, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %28 28: ; preds = %._crit_edge, %1 %29 = load ptr, ptr %2, align 8 %30 = getelementptr inbounds double, ptr %29, i64 0 %31 = load double, ptr %30, align 8 %32 = fdiv double %31, 0x404E0AA64C2F837B store double %32, ptr %4, align 8 %33 = load ptr, ptr %2, align 8 %34 = getelementptr inbounds double, ptr %33, i64 1 %35 = load double, ptr %34, align 8 %36 = fdiv double %35, 0x4053F7694467381D store double %36, ptr %5, align 8 %37 = load ptr, ptr %2, align 8 %38 = getelementptr inbounds double, ptr %37, i64 2 %39 = load double, ptr %38, align 8 %40 = fdiv double %39, 0x40497D844D013A92 store double %40, ptr %6, align 8 %41 = load ptr, ptr %2, align 8 %42 = getelementptr inbounds double, ptr %41, i64 3 %43 = load double, ptr %42, align 8 %44 = fdiv double %43, 7.984410e+01 %45 = load ptr, ptr %2, align 8 %46 = getelementptr inbounds double, ptr %45, i64 4 %47 = load double, ptr %46, align 8 %48 = fdiv double %47, 7.184440e+01 %49 = fadd double %44, %48 store double %49, ptr %7, align 8 %50 = load ptr, ptr %2, align 8 %51 = getelementptr inbounds double, ptr %50, i64 5 %52 = load double, ptr %51, align 8 %53 = fdiv double %52, 4.030440e+01 store double %53, ptr %8, align 8 %54 = load ptr, ptr %2, align 8 %55 = getelementptr inbounds double, ptr %54, i64 6 %56 = load double, ptr %55, align 8 %57 = fdiv double %56, 0x404C09E83E425AEF store double %57, ptr %9, align 8 %58 = load ptr, ptr %2, align 8 %59 = getelementptr inbounds double, ptr %58, i64 7 %60 = load double, ptr %59, align 8 %61 = fdiv double %60, 3.098950e+01 store double %61, ptr %10, align 8 %62 = load ptr, ptr %2, align 8 %63 = getelementptr inbounds double, ptr %62, i64 8 %64 = load double, ptr %63, align 8 %65 = fdiv double %64, 4.709800e+01 store double %65, ptr %11, align 8 %66 = load double, ptr %4, align 8 %67 = load double, ptr %5, align 8 %68 = fadd double %66, %67 %69 = load double, ptr %6, align 8 %70 = fadd double %68, %69 %71 = load double, ptr %7, align 8 %72 = fadd double %70, %71 %73 = load double, ptr %8, align 8 %74 = fadd double %72, %73 %75 = load double, ptr %9, align 8 %76 = fadd double %74, %75 %77 = load double, ptr %10, align 8 %78 = fadd double %76, %77 %79 = load double, ptr %11, align 8 %80 = fadd double %78, %79 store double %80, ptr %12, align 8 %81 = load double, ptr %10, align 8 %82 = load double, ptr %11, align 8 %83 = fadd double %81, %82 %84 = load double, ptr %9, align 8 %85 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %84, double %83) %86 = load double, ptr %6, align 8 %87 = load double, ptr %4, align 8 %88 = fmul double %86, %87 %89 = fdiv double %85, %88 %90 = load double, ptr %12, align 8 %91 = fmul double %89, %90 store double %91, ptr %13, align 8 %92 = load double, ptr %13, align 8 %93 = call i32 @printf(ptr noundef @.str.1, double noundef %92) %94 = load double, ptr %13, align 8 ret double %94 } declare i32 @printf(ptr noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2esed5hv.c' source_filename = "/tmp/tmp2esed5hv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @POLLIN = dso_local global i32 0, align 4 @POLLOUT = 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/tmp2esed5hv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @POLLIN = dso_local global i32 0, align 4 @POLLOUT = 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/tmpefug7tp1.c' source_filename = "/tmp/tmpefug7tp1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @dft_cmp_double.orig_spec = internal global [1024 x double] zeroinitializer, align 16 @dft_cmp_double.test_spec = internal global [1024 x double] zeroinitializer, align 16 @.str = private unnamed_addr constant [54 x i8] c"Error (line %d) : dft_cmp_double : Bad input arrays.\0A\00", align 1 @.str.1 = private unnamed_addr constant [60 x i8] c"Error (line %d) : dft_cmp_double : Bad input array length.\0A\00", align 1 @.str.2 = private unnamed_addr constant [56 x i8] c"\0A\0ALine %d: Actual SNR (% 4.1f) > target SNR (% 4.1f).\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @dft_cmp_double(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, double noundef %4, i32 noundef %5) #0 { %7 = alloca double, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca double, align 8 %13 = alloca i32, align 4 %14 = alloca double, align 8 store i32 %0, ptr %8, align 4 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store i32 %3, ptr %11, align 4 store double %4, ptr %12, align 8 store i32 %5, ptr %13, align 4 %15 = load ptr, ptr %9, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %20 17: ; preds = %6 %18 = load ptr, ptr %10, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %23, label %20 20: ; preds = %17, %6 %21 = load i32, ptr %8, align 4 %22 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %21) store double 1.000000e+00, ptr %7, align 8 br label %58 23: ; preds = %17 %24 = load i32, ptr %11, align 4 %25 = icmp ne i32 %24, 2048 br i1 %25, label %26, label %29 26: ; preds = %23 %27 = load i32, ptr %8, align 4 %28 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %27) store double 1.000000e+00, ptr %7, align 8 br label %58 29: ; preds = %23 %30 = load ptr, ptr %9, align 8 %31 = call i32 @dft_magnitude(ptr noundef %30, ptr noundef @dft_cmp_double.orig_spec) %32 = load ptr, ptr %10, align 8 %33 = call i32 @dft_magnitude(ptr noundef %32, ptr noundef @dft_cmp_double.test_spec) %34 = call double @calc_max_spectral_difference(ptr noundef @dft_cmp_double.orig_spec, ptr noundef @dft_cmp_double.test_spec) store double %34, ptr %14, align 8 %35 = load double, ptr %14, align 8 %36 = load double, ptr %12, align 8 %37 = fcmp ogt double %35, %36 br i1 %37, label %38, label %52 38: ; preds = %29 %39 = load i32, ptr %8, align 4 %40 = load double, ptr %14, align 8 %41 = load double, ptr %12, align 8 %42 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %39, double noundef %40, double noundef %41) %43 = load ptr, ptr %9, align 8 %44 = load ptr, ptr %10, align 8 %45 = load i32, ptr %11, align 4 %46 = call i32 @oct_save_double(ptr noundef %43, ptr noundef %44, i32 noundef %45) %47 = load i32, ptr %13, align 4 %48 = icmp ne i32 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %38 %50 = call i32 @exit(i32 noundef 1) #3 unreachable 51: ; preds = %38 br label %52 52: ; preds = %51, %29 %53 = load double, ptr %14, align 8 %54 = fcmp olt double %53, -5.000000e+02 br i1 %54, label %55, label %56 55: ; preds = %52 store double -5.000000e+02, ptr %14, align 8 br label %56 56: ; preds = %55, %52 %57 = load double, ptr %14, align 8 store double %57, ptr %7, align 8 br label %58 58: ; preds = %56, %26, %20 %59 = load double, ptr %7, align 8 ret double %59 } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @dft_magnitude(ptr noundef, ptr noundef) #1 declare double @calc_max_spectral_difference(ptr noundef, ptr noundef) #1 declare i32 @oct_save_double(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpefug7tp1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @dft_cmp_double.orig_spec = internal global [1024 x double] zeroinitializer, align 16 @dft_cmp_double.test_spec = internal global [1024 x double] zeroinitializer, align 16 @.str = private unnamed_addr constant [54 x i8] c"Error (line %d) : dft_cmp_double : Bad input arrays.\0A\00", align 1 @.str.1 = private unnamed_addr constant [60 x i8] c"Error (line %d) : dft_cmp_double : Bad input array length.\0A\00", align 1 @.str.2 = private unnamed_addr constant [56 x i8] c"\0A\0ALine %d: Actual SNR (% 4.1f) > target SNR (% 4.1f).\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @dft_cmp_double(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, double noundef %4, i32 noundef %5) #0 { %7 = alloca double, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca double, align 8 %13 = alloca i32, align 4 %14 = alloca double, align 8 store i32 %0, ptr %8, align 4 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store i32 %3, ptr %11, align 4 store double %4, ptr %12, align 8 store i32 %5, ptr %13, align 4 %15 = load ptr, ptr %9, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %20 17: ; preds = %6 %18 = load ptr, ptr %10, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %23, label %20 20: ; preds = %17, %6 %21 = load i32, ptr %8, align 4 %22 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %21) store double 1.000000e+00, ptr %7, align 8 br label %58 23: ; preds = %17 %24 = load i32, ptr %11, align 4 %25 = icmp ne i32 %24, 2048 br i1 %25, label %26, label %29 26: ; preds = %23 %27 = load i32, ptr %8, align 4 %28 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %27) store double 1.000000e+00, ptr %7, align 8 br label %58 29: ; preds = %23 %30 = load ptr, ptr %9, align 8 %31 = call i32 @dft_magnitude(ptr noundef %30, ptr noundef @dft_cmp_double.orig_spec) %32 = load ptr, ptr %10, align 8 %33 = call i32 @dft_magnitude(ptr noundef %32, ptr noundef @dft_cmp_double.test_spec) %34 = call double @calc_max_spectral_difference(ptr noundef @dft_cmp_double.orig_spec, ptr noundef @dft_cmp_double.test_spec) store double %34, ptr %14, align 8 %35 = load double, ptr %14, align 8 %36 = load double, ptr %12, align 8 %37 = fcmp ogt double %35, %36 br i1 %37, label %38, label %52 38: ; preds = %29 %39 = load i32, ptr %8, align 4 %40 = load double, ptr %14, align 8 %41 = load double, ptr %12, align 8 %42 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %39, double noundef %40, double noundef %41) %43 = load ptr, ptr %9, align 8 %44 = load ptr, ptr %10, align 8 %45 = load i32, ptr %11, align 4 %46 = call i32 @oct_save_double(ptr noundef %43, ptr noundef %44, i32 noundef %45) %47 = load i32, ptr %13, align 4 %48 = icmp ne i32 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %38 %50 = call i32 @exit(i32 noundef 1) #3 unreachable 51: ; preds = %38 br label %52 52: ; preds = %51, %29 %53 = load double, ptr %14, align 8 %54 = fcmp olt double %53, -5.000000e+02 br i1 %54, label %55, label %56 55: ; preds = %52 store double -5.000000e+02, ptr %14, align 8 br label %56 56: ; preds = %55, %52 %57 = load double, ptr %14, align 8 store double %57, ptr %7, align 8 br label %58 58: ; preds = %56, %26, %20 %59 = load double, ptr %7, align 8 ret double %59 } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @dft_magnitude(ptr noundef, ptr noundef) #1 declare double @calc_max_spectral_difference(ptr noundef, ptr noundef) #1 declare i32 @oct_save_double(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9o7pvvkk.c' source_filename = "/tmp/tmp9o7pvvkk.c" target datalayout = "e-m:e-p270: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.list = private unnamed_addr constant [10 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10], align 16 @.str = private unnamed_addr constant [28 x i8] c"Failed to find the midpoint\00", align 1 @.str.1 = private unnamed_addr constant [56 x i8] c"Failed to find a number in the bottom half of the array\00", align 1 @.str.2 = private unnamed_addr constant [53 x i8] c"Failed to find a number in the top half of the array\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"Found a number that does not exist\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"All tests passed\0A\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"%d %s failed\0A\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"test\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"tests\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.list, i64 40, i1 false) store i32 0, ptr %3, align 4 %4 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %5 = call i32 @binary_search(ptr noundef %4, i32 noundef 0, i32 noundef 9, i32 noundef 5) %6 = call i64 @test(i32 noundef 4, i32 noundef %5, ptr noundef @.str) %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = add nsw i64 %8, %6 %10 = trunc i64 %9 to i32 store i32 %10, ptr %3, align 4 %11 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %12 = call i32 @binary_search(ptr noundef %11, i32 noundef 0, i32 noundef 9, i32 noundef 2) %13 = call i64 @test(i32 noundef 1, i32 noundef %12, ptr noundef @.str.1) %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = add nsw i64 %15, %13 %17 = trunc i64 %16 to i32 store i32 %17, ptr %3, align 4 %18 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %19 = call i32 @binary_search(ptr noundef %18, i32 noundef 0, i32 noundef 9, i32 noundef 9) %20 = call i64 @test(i32 noundef 8, i32 noundef %19, ptr noundef @.str.2) %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = add nsw i64 %22, %20 %24 = trunc i64 %23 to i32 store i32 %24, ptr %3, align 4 %25 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %26 = call i32 @binary_search(ptr noundef %25, i32 noundef 0, i32 noundef 9, i32 noundef 100) %27 = call i64 @test(i32 noundef -1, i32 noundef %26, ptr noundef @.str.3) %28 = load i32, ptr %3, align 4 %29 = sext i32 %28 to i64 %30 = add nsw i64 %29, %27 %31 = trunc i64 %30 to i32 store i32 %31, ptr %3, align 4 %32 = load i32, ptr %3, align 4 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %0 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %43 36: ; preds = %0 %37 = load i32, ptr %3, align 4 %38 = load i32, ptr %3, align 4 %39 = icmp eq i32 %38, 1 %40 = zext i1 %39 to i64 %41 = select i1 %39, ptr @.str.6, ptr @.str.7 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %37, ptr noundef %41) br label %43 43: ; preds = %36, %34 %44 = load i32, ptr %1, align 4 ret i32 %44 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i64 @test(i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @binary_search(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9o7pvvkk.c" target datalayout = "e-m:e-p270: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.list = private unnamed_addr constant [10 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10], align 16 @.str = private unnamed_addr constant [28 x i8] c"Failed to find the midpoint\00", align 1 @.str.1 = private unnamed_addr constant [56 x i8] c"Failed to find a number in the bottom half of the array\00", align 1 @.str.2 = private unnamed_addr constant [53 x i8] c"Failed to find a number in the top half of the array\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"Found a number that does not exist\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"All tests passed\0A\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"%d %s failed\0A\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"test\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"tests\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.list, i64 40, i1 false) store i32 0, ptr %3, align 4 %4 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %5 = call i32 @binary_search(ptr noundef %4, i32 noundef 0, i32 noundef 9, i32 noundef 5) %6 = call i64 @test(i32 noundef 4, i32 noundef %5, ptr noundef @.str) %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = add nsw i64 %8, %6 %10 = trunc i64 %9 to i32 store i32 %10, ptr %3, align 4 %11 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %12 = call i32 @binary_search(ptr noundef %11, i32 noundef 0, i32 noundef 9, i32 noundef 2) %13 = call i64 @test(i32 noundef 1, i32 noundef %12, ptr noundef @.str.1) %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = add nsw i64 %15, %13 %17 = trunc i64 %16 to i32 store i32 %17, ptr %3, align 4 %18 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %19 = call i32 @binary_search(ptr noundef %18, i32 noundef 0, i32 noundef 9, i32 noundef 9) %20 = call i64 @test(i32 noundef 8, i32 noundef %19, ptr noundef @.str.2) %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = add nsw i64 %22, %20 %24 = trunc i64 %23 to i32 store i32 %24, ptr %3, align 4 %25 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %26 = call i32 @binary_search(ptr noundef %25, i32 noundef 0, i32 noundef 9, i32 noundef 100) %27 = call i64 @test(i32 noundef -1, i32 noundef %26, ptr noundef @.str.3) %28 = load i32, ptr %3, align 4 %29 = sext i32 %28 to i64 %30 = add nsw i64 %29, %27 %31 = trunc i64 %30 to i32 store i32 %31, ptr %3, align 4 %32 = load i32, ptr %3, align 4 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %0 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %43 36: ; preds = %0 %37 = load i32, ptr %3, align 4 %38 = load i32, ptr %3, align 4 %39 = icmp eq i32 %38, 1 %40 = zext i1 %39 to i64 %41 = select i1 %39, ptr @.str.6, ptr @.str.7 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %37, ptr noundef %41) br label %43 43: ; preds = %36, %34 %44 = load i32, ptr %1, align 4 ret i32 %44 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i64 @test(i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @binary_search(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzzpec7ot.c' source_filename = "/tmp/tmpzzpec7ot.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @psycho_2_fft(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 float, align 4 %8 = alloca float, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i32 @fht(ptr noundef %11) %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds float, ptr %13, i64 0 %15 = load float, ptr %14, align 4 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds float, ptr %16, i64 0 %18 = load float, ptr %17, align 4 %19 = fmul float %15, %18 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds float, ptr %20, i64 0 store float %19, ptr %21, align 4 store i32 1, ptr %9, align 4 store i32 1023, ptr %10, align 4 br label %22 22: ; preds = %79, %3 %23 = load i32, ptr %9, align 4 %24 = icmp slt i32 %23, 512 br i1 %24, label %25, label %84 25: ; preds = %22 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %9, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds float, ptr %26, i64 %28 %30 = load float, ptr %29, align 4 store float %30, ptr %7, align 4 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %10, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds float, ptr %31, i64 %33 %35 = load float, ptr %34, align 4 store float %35, ptr %8, align 4 %36 = load float, ptr %7, align 4 %37 = load float, ptr %7, align 4 %38 = load float, ptr %8, align 4 %39 = load float, ptr %8, align 4 %40 = fmul float %38, %39 %41 = call float @llvm.fmuladd.f32(float %36, float %37, float %40) %42 = fpext float %41 to double %43 = fdiv double %42, 2.000000e+00 %44 = fptrunc double %43 to float %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %9, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds float, ptr %45, i64 %47 store float %44, ptr %48, align 4 %49 = load ptr, ptr %5, align 8 %50 = load i32, ptr %9, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds float, ptr %49, i64 %51 %53 = load float, ptr %52, align 4 %54 = fpext float %53 to double %55 = fcmp olt double %54, 5.000000e-04 br i1 %55, label %56, label %65 56: ; preds = %25 %57 = load ptr, ptr %5, align 8 %58 = load i32, ptr %9, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds float, ptr %57, i64 %59 store float 0x3F40624DE0000000, ptr %60, align 4 %61 = load ptr, ptr %6, align 8 %62 = load i32, ptr %9, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds float, ptr %61, i64 %63 store float 0.000000e+00, ptr %64, align 4 br label %78 65: ; preds = %25 %66 = load float, ptr %7, align 4 %67 = fpext float %66 to double %68 = fneg double %67 %69 = load float, ptr %8, align 4 %70 = fpext float %69 to double %71 = call double @atan2(double noundef %68, double noundef %70) #4 %72 = fadd double %71, 0x3FE921FB54442D11 %73 = fptrunc double %72 to float %74 = load ptr, ptr %6, align 8 %75 = load i32, ptr %9, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds float, ptr %74, i64 %76 store float %73, ptr %77, align 4 br label %78 78: ; preds = %65, %56 br label %79 79: ; preds = %78 %80 = load i32, ptr %9, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %9, align 4 %82 = load i32, ptr %10, align 4 %83 = add nsw i32 %82, -1 store i32 %83, ptr %10, align 4 br label %22, !llvm.loop !6 84: ; preds = %22 %85 = load ptr, ptr %4, align 8 %86 = getelementptr inbounds float, ptr %85, i64 512 %87 = load float, ptr %86, align 4 %88 = load ptr, ptr %4, align 8 %89 = getelementptr inbounds float, ptr %88, i64 512 %90 = load float, ptr %89, align 4 %91 = fmul float %87, %90 %92 = load ptr, ptr %5, align 8 %93 = getelementptr inbounds float, ptr %92, i64 512 store float %91, ptr %93, align 4 %94 = load ptr, ptr %4, align 8 %95 = getelementptr inbounds float, ptr %94, i64 512 %96 = load float, ptr %95, align 4 %97 = fpext float %96 to double %98 = call double @atan2(double noundef 0.000000e+00, double noundef %97) #4 %99 = fptrunc double %98 to float %100 = load ptr, ptr %6, align 8 %101 = getelementptr inbounds float, ptr %100, i64 512 store float %99, ptr %101, align 4 ret void } declare i32 @fht(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 ; Function Attrs: nounwind declare double @atan2(double noundef, double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzzpec7ot.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @psycho_2_fft(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 float, align 4 %8 = alloca float, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i32 @fht(ptr noundef %11) %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds float, ptr %13, i64 0 %15 = load float, ptr %14, align 4 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds float, ptr %16, i64 0 %18 = load float, ptr %17, align 4 %19 = fmul float %15, %18 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds float, ptr %20, i64 0 store float %19, ptr %21, align 4 store i32 1, ptr %9, align 4 store i32 1023, ptr %10, align 4 %22 = load i32, ptr %9, align 4 %23 = icmp slt i32 %22, 512 br i1 %23, label %.lr.ph, label %85 .lr.ph: ; preds = %3 br label %24 24: ; preds = %.lr.ph, %78 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %9, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds float, ptr %25, i64 %27 %29 = load float, ptr %28, align 4 store float %29, ptr %7, align 4 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %10, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds float, ptr %30, i64 %32 %34 = load float, ptr %33, align 4 store float %34, ptr %8, align 4 %35 = load float, ptr %7, align 4 %36 = load float, ptr %7, align 4 %37 = load float, ptr %8, align 4 %38 = load float, ptr %8, align 4 %39 = fmul float %37, %38 %40 = call float @llvm.fmuladd.f32(float %35, float %36, float %39) %41 = fpext float %40 to double %42 = fdiv double %41, 2.000000e+00 %43 = fptrunc double %42 to float %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %9, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds float, ptr %44, i64 %46 store float %43, ptr %47, align 4 %48 = load ptr, ptr %5, align 8 %49 = load i32, ptr %9, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds float, ptr %48, i64 %50 %52 = load float, ptr %51, align 4 %53 = fpext float %52 to double %54 = fcmp olt double %53, 5.000000e-04 br i1 %54, label %55, label %64 55: ; preds = %24 %56 = load ptr, ptr %5, align 8 %57 = load i32, ptr %9, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds float, ptr %56, i64 %58 store float 0x3F40624DE0000000, ptr %59, align 4 %60 = load ptr, ptr %6, align 8 %61 = load i32, ptr %9, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds float, ptr %60, i64 %62 store float 0.000000e+00, ptr %63, align 4 br label %77 64: ; preds = %24 %65 = load float, ptr %7, align 4 %66 = fpext float %65 to double %67 = fneg double %66 %68 = load float, ptr %8, align 4 %69 = fpext float %68 to double %70 = call double @atan2(double noundef %67, double noundef %69) #4 %71 = fadd double %70, 0x3FE921FB54442D11 %72 = fptrunc double %71 to float %73 = load ptr, ptr %6, align 8 %74 = load i32, ptr %9, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds float, ptr %73, i64 %75 store float %72, ptr %76, align 4 br label %77 77: ; preds = %64, %55 br label %78 78: ; preds = %77 %79 = load i32, ptr %9, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %9, align 4 %81 = load i32, ptr %10, align 4 %82 = add nsw i32 %81, -1 store i32 %82, ptr %10, align 4 %83 = load i32, ptr %9, align 4 %84 = icmp slt i32 %83, 512 br i1 %84, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %78 br label %85 85: ; preds = %._crit_edge, %3 %86 = load ptr, ptr %4, align 8 %87 = getelementptr inbounds float, ptr %86, i64 512 %88 = load float, ptr %87, align 4 %89 = load ptr, ptr %4, align 8 %90 = getelementptr inbounds float, ptr %89, i64 512 %91 = load float, ptr %90, align 4 %92 = fmul float %88, %91 %93 = load ptr, ptr %5, align 8 %94 = getelementptr inbounds float, ptr %93, i64 512 store float %92, ptr %94, align 4 %95 = load ptr, ptr %4, align 8 %96 = getelementptr inbounds float, ptr %95, i64 512 %97 = load float, ptr %96, align 4 %98 = fpext float %97 to double %99 = call double @atan2(double noundef 0.000000e+00, double noundef %98) #4 %100 = fptrunc double %99 to float %101 = load ptr, ptr %6, align 8 %102 = getelementptr inbounds float, ptr %101, i64 512 store float %100, ptr %102, align 4 ret void } declare i32 @fht(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 ; Function Attrs: nounwind declare double @atan2(double noundef, double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgqmj__au.c' source_filename = "/tmp/tmpgqmj__au.c" target datalayout = "e-m:e-p270: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 { double, double } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @timer() #0 { %1 = alloca %struct.timeval, align 8 %2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null) %3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %4 = load double, ptr %3, align 8 %5 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %6 = load double, ptr %5, align 8 %7 = fdiv double %6, 1.000000e+06 %8 = fadd double %4, %7 ret double %8 } declare i32 @gettimeofday(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/tmpgqmj__au.c" target datalayout = "e-m:e-p270: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 { double, double } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @timer() #0 { %1 = alloca %struct.timeval, align 8 %2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null) %3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %4 = load double, ptr %3, align 8 %5 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %6 = load double, ptr %5, align 8 %7 = fdiv double %6, 1.000000e+06 %8 = fadd double %4, %7 ret double %8 } declare i32 @gettimeofday(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/tmp5ku448bu.c' source_filename = "/tmp/tmp5ku448bu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @cancel_send.cancel = internal constant [3 x i8] c"\18\18\18", align 1 @TCIOFLUSH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cancel_send(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 @write(i32 noundef %3, ptr noundef @cancel_send.cancel, i32 noundef 3) %5 = sext i32 %4 to i64 %6 = icmp eq i64 %5, 3 br i1 %6, label %7, label %16 7: ; preds = %1 %8 = load i32, ptr %2, align 4 %9 = call i32 @tcdrain(i32 noundef %8) %10 = icmp ne i32 %9, 0 br i1 %10, label %15, label %11 11: ; preds = %7 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr @TCIOFLUSH, align 4 %14 = call i32 @tcflush(i32 noundef %12, i32 noundef %13) br label %15 15: ; preds = %11, %7 br label %16 16: ; preds = %15, %1 ret void } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @tcdrain(i32 noundef) #1 declare i32 @tcflush(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/tmp5ku448bu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @cancel_send.cancel = internal constant [3 x i8] c"\18\18\18", align 1 @TCIOFLUSH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cancel_send(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 @write(i32 noundef %3, ptr noundef @cancel_send.cancel, i32 noundef 3) %5 = sext i32 %4 to i64 %6 = icmp eq i64 %5, 3 br i1 %6, label %7, label %16 7: ; preds = %1 %8 = load i32, ptr %2, align 4 %9 = call i32 @tcdrain(i32 noundef %8) %10 = icmp ne i32 %9, 0 br i1 %10, label %15, label %11 11: ; preds = %7 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr @TCIOFLUSH, align 4 %14 = call i32 @tcflush(i32 noundef %12, i32 noundef %13) br label %15 15: ; preds = %11, %7 br label %16 16: ; preds = %15, %1 ret void } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @tcdrain(i32 noundef) #1 declare i32 @tcflush(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/tmp2qmrq41d.c' source_filename = "/tmp/tmp2qmrq41d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iwhile() #0 { %1 = call i32 (...) @iif() ret void } declare i32 @iif(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2qmrq41d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iwhile() #0 { %1 = call i32 (...) @iif() ret void } declare i32 @iif(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyvrtxrxf.c' source_filename = "/tmp/tmpyvrtxrxf.c" target datalayout = "e-m:e-p270: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/tmpyvrtxrxf.c" target datalayout = "e-m:e-p270: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/tmpov93kvtc.c' source_filename = "/tmp/tmpov93kvtc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mod_fff(ptr noundef %0, float noundef %1, float noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 store ptr %0, ptr %4, align 8 store float %1, ptr %5, align 4 store float %2, ptr %6, align 4 %8 = load float, ptr %5, align 4 %9 = load float, ptr %6, align 4 %10 = call float @fmodf(float noundef %8, float noundef %9) #2 store float %10, ptr %7, align 4 %11 = load float, ptr %7, align 4 %12 = load ptr, ptr %4, align 8 store float %11, ptr %12, align 4 ret void } ; Function Attrs: nounwind declare float @fmodf(float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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/tmpov93kvtc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mod_fff(ptr noundef %0, float noundef %1, float noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 store ptr %0, ptr %4, align 8 store float %1, ptr %5, align 4 store float %2, ptr %6, align 4 %8 = load float, ptr %5, align 4 %9 = load float, ptr %6, align 4 %10 = call float @fmodf(float noundef %8, float noundef %9) #2 store float %10, ptr %7, align 4 %11 = load float, ptr %7, align 4 %12 = load ptr, ptr %4, align 8 store float %11, ptr %12, align 4 ret void } ; Function Attrs: nounwind declare float @fmodf(float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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/tmptv9irkzk.c' source_filename = "/tmp/tmptv9irkzk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CG_MustParse(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call ptr @COM_Parse(ptr noundef %6) store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i8, ptr %8, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = call i32 @CG_Error(ptr noundef %12) br label %14 14: ; preds = %11, %2 %15 = load ptr, ptr %5, align 8 ret ptr %15 } declare ptr @COM_Parse(ptr noundef) #1 declare i32 @CG_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/tmptv9irkzk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CG_MustParse(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call ptr @COM_Parse(ptr noundef %6) store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i8, ptr %8, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = call i32 @CG_Error(ptr noundef %12) br label %14 14: ; preds = %11, %2 %15 = load ptr, ptr %5, align 8 ret ptr %15 } declare ptr @COM_Parse(ptr noundef) #1 declare i32 @CG_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"}