llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpkadz_u36.c' source_filename = "/tmp/tmpkadz_u36.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkadz_u36.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx3rvhz01.c' source_filename = "/tmp/tmpx3rvhz01.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Kein Speicher fuer die Zeilen...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @speicher_reservieren_2dim_char_array_malloc(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %8 = load i32, ptr %4, align 4 %9 = sext i32 %8 to i64 %10 = mul i64 %9, 8 %11 = trunc i64 %10 to i32 %12 = call i64 @malloc(i32 noundef %11) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %6, align 8 %15 = icmp eq ptr null, %14 br i1 %15, label %16, label %18 16: ; preds = %3 %17 = call i32 @printf(ptr noundef @.str) br label %39 18: ; preds = %3 store i32 0, ptr %7, align 4 br label %19 19: ; preds = %35, %18 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %38 23: ; preds = %19 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %7, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %24, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = load i32, ptr %5, align 4 %30 = call ptr @speicher_reservieren_char_array_malloc(ptr noundef %28, i32 noundef %29) %31 = load ptr, ptr %6, align 8 %32 = load i32, ptr %7, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 store ptr %30, ptr %34, align 8 br label %35 35: ; preds = %23 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 br label %19, !llvm.loop !6 38: ; preds = %19 br label %39 39: ; preds = %38, %16 %40 = load ptr, ptr %6, align 8 ret ptr %40 } declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare ptr @speicher_reservieren_char_array_malloc(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx3rvhz01.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Kein Speicher fuer die Zeilen...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @speicher_reservieren_2dim_char_array_malloc(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %8 = load i32, ptr %4, align 4 %9 = sext i32 %8 to i64 %10 = mul i64 %9, 8 %11 = trunc i64 %10 to i32 %12 = call i64 @malloc(i32 noundef %11) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %6, align 8 %15 = icmp eq ptr null, %14 br i1 %15, label %16, label %18 16: ; preds = %3 %17 = call i32 @printf(ptr noundef @.str) br label %41 18: ; preds = %3 store i32 0, ptr %7, align 4 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph, label %40 .lr.ph: ; preds = %18 br label %22 22: ; preds = %.lr.ph, %34 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %23, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = load i32, ptr %5, align 4 %29 = call ptr @speicher_reservieren_char_array_malloc(ptr noundef %27, i32 noundef %28) %30 = load ptr, ptr %6, align 8 %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds ptr, ptr %30, i64 %32 store ptr %29, ptr %33, align 8 br label %34 34: ; preds = %22 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %7, align 4 %37 = load i32, ptr %7, align 4 %38 = load i32, ptr %4, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %40 40: ; preds = %._crit_edge, %18 br label %41 41: ; preds = %40, %16 %42 = load ptr, ptr %6, align 8 ret ptr %42 } declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare ptr @speicher_reservieren_char_array_malloc(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpzr45umd3.c' source_filename = "/tmp/tmpzr45umd3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @peaks_valleys(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 1, ptr %5, align 8 br label %8 8: ; preds = %65, %2 %9 = load i64, ptr %5, align 8 %10 = load i64, ptr %4, align 8 %11 = icmp ult i64 %9, %10 br i1 %11, label %12, label %68 12: ; preds = %8 %13 = load i64, ptr %5, align 8 store i64 %13, ptr %6, align 8 %14 = load i64, ptr %5, align 8 %15 = icmp ugt i64 %14, 0 br i1 %15, label %16, label %30 16: ; preds = %12 %17 = load ptr, ptr %3, align 8 %18 = load i64, ptr %5, align 8 %19 = sub i64 %18, 1 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4 %22 = load ptr, ptr %3, align 8 %23 = load i64, ptr %6, align 8 %24 = getelementptr inbounds i32, ptr %22, i64 %23 %25 = load i32, ptr %24, align 4 %26 = icmp sgt i32 %21, %25 br i1 %26, label %27, label %30 27: ; preds = %16 %28 = load i64, ptr %5, align 8 %29 = sub i64 %28, 1 store i64 %29, ptr %6, align 8 br label %30 30: ; preds = %27, %16, %12 %31 = load i64, ptr %5, align 8 %32 = add i64 %31, 1 %33 = load i64, ptr %4, align 8 %34 = icmp ult i64 %32, %33 br i1 %34, label %35, label %49 35: ; preds = %30 %36 = load ptr, ptr %3, align 8 %37 = load i64, ptr %5, align 8 %38 = add i64 %37, 1 %39 = getelementptr inbounds i32, ptr %36, i64 %38 %40 = load i32, ptr %39, align 4 %41 = load ptr, ptr %3, align 8 %42 = load i64, ptr %6, align 8 %43 = getelementptr inbounds i32, ptr %41, i64 %42 %44 = load i32, ptr %43, align 4 %45 = icmp sgt i32 %40, %44 br i1 %45, label %46, label %49 46: ; preds = %35 %47 = load i64, ptr %5, align 8 %48 = add i64 %47, 1 store i64 %48, ptr %6, align 8 br label %49 49: ; preds = %46, %35, %30 %50 = load ptr, ptr %3, align 8 %51 = load i64, ptr %6, align 8 %52 = getelementptr inbounds i32, ptr %50, i64 %51 %53 = load i32, ptr %52, align 4 store i32 %53, ptr %7, align 4 %54 = load ptr, ptr %3, align 8 %55 = load i64, ptr %5, align 8 %56 = getelementptr inbounds i32, ptr %54, i64 %55 %57 = load i32, ptr %56, align 4 %58 = load ptr, ptr %3, align 8 %59 = load i64, ptr %6, align 8 %60 = getelementptr inbounds i32, ptr %58, i64 %59 store i32 %57, ptr %60, align 4 %61 = load i32, ptr %7, align 4 %62 = load ptr, ptr %3, align 8 %63 = load i64, ptr %5, align 8 %64 = getelementptr inbounds i32, ptr %62, i64 %63 store i32 %61, ptr %64, align 4 br label %65 65: ; preds = %49 %66 = load i64, ptr %5, align 8 %67 = add i64 %66, 2 store i64 %67, ptr %5, align 8 br label %8, !llvm.loop !6 68: ; preds = %8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpzr45umd3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @peaks_valleys(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 1, ptr %5, align 8 %8 = load i64, ptr %5, align 8 %9 = load i64, ptr %4, align 8 %10 = icmp ult i64 %8, %9 br i1 %10, label %.lr.ph, label %70 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %64 %12 = load i64, ptr %5, align 8 store i64 %12, ptr %6, align 8 %13 = load i64, ptr %5, align 8 %14 = icmp ugt i64 %13, 0 br i1 %14, label %15, label %29 15: ; preds = %11 %16 = load ptr, ptr %3, align 8 %17 = load i64, ptr %5, align 8 %18 = sub i64 %17, 1 %19 = getelementptr inbounds i32, ptr %16, i64 %18 %20 = load i32, ptr %19, align 4 %21 = load ptr, ptr %3, align 8 %22 = load i64, ptr %6, align 8 %23 = getelementptr inbounds i32, ptr %21, i64 %22 %24 = load i32, ptr %23, align 4 %25 = icmp sgt i32 %20, %24 br i1 %25, label %26, label %29 26: ; preds = %15 %27 = load i64, ptr %5, align 8 %28 = sub i64 %27, 1 store i64 %28, ptr %6, align 8 br label %29 29: ; preds = %26, %15, %11 %30 = load i64, ptr %5, align 8 %31 = add i64 %30, 1 %32 = load i64, ptr %4, align 8 %33 = icmp ult i64 %31, %32 br i1 %33, label %34, label %48 34: ; preds = %29 %35 = load ptr, ptr %3, align 8 %36 = load i64, ptr %5, align 8 %37 = add i64 %36, 1 %38 = getelementptr inbounds i32, ptr %35, i64 %37 %39 = load i32, ptr %38, align 4 %40 = load ptr, ptr %3, align 8 %41 = load i64, ptr %6, align 8 %42 = getelementptr inbounds i32, ptr %40, i64 %41 %43 = load i32, ptr %42, align 4 %44 = icmp sgt i32 %39, %43 br i1 %44, label %45, label %48 45: ; preds = %34 %46 = load i64, ptr %5, align 8 %47 = add i64 %46, 1 store i64 %47, ptr %6, align 8 br label %48 48: ; preds = %45, %34, %29 %49 = load ptr, ptr %3, align 8 %50 = load i64, ptr %6, align 8 %51 = getelementptr inbounds i32, ptr %49, i64 %50 %52 = load i32, ptr %51, align 4 store i32 %52, ptr %7, align 4 %53 = load ptr, ptr %3, align 8 %54 = load i64, ptr %5, align 8 %55 = getelementptr inbounds i32, ptr %53, i64 %54 %56 = load i32, ptr %55, align 4 %57 = load ptr, ptr %3, align 8 %58 = load i64, ptr %6, align 8 %59 = getelementptr inbounds i32, ptr %57, i64 %58 store i32 %56, ptr %59, align 4 %60 = load i32, ptr %7, align 4 %61 = load ptr, ptr %3, align 8 %62 = load i64, ptr %5, align 8 %63 = getelementptr inbounds i32, ptr %61, i64 %62 store i32 %60, ptr %63, align 4 br label %64 64: ; preds = %48 %65 = load i64, ptr %5, align 8 %66 = add i64 %65, 2 store i64 %66, ptr %5, align 8 %67 = load i64, ptr %5, align 8 %68 = load i64, ptr %4, align 8 %69 = icmp ult i64 %67, %68 br i1 %69, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %64 br label %70 70: ; preds = %._crit_edge, %2 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpfuy7re3n.c' source_filename = "/tmp/tmpfuy7re3n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"Usage: %s <database file> <airport>\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Can't open database: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [584 x i8] c"WITH RECURSIVE test(Destination_airport) AS (select distinct routes.Destination_airport from airports, routes where routes.Source_airport = '' UNION select r.Destination_airport from routes r JOIN test t ON r.Source_airport = t.Destination_airport) select distinct ap.Name from airports ap, airlines a where (ap.IATA_FAA NOT IN test) and ap.IATA_FAA IN (select Source_airport from routes) and ap.IATA_FAA IN (select destination_airport from routes) and a.IATA != '' and a.ICAO != '' and a.Country != '' and a.Callsign != '' and a.Active = 'Y' and ap.IATA_FAA != '' and ap.ICAO != '';\00", align 1 @SQLITE_OK = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [24 x i8] c"Preparation failed: %s\0A\00", align 1 @SQLITE_ROW = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [4 x i8] c"%s|\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"\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 i32, align 4 %9 = alloca ptr, align 8 %10 = alloca [800 x i8], align 16 %11 = alloca i32, align 4 %12 = 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 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 3 br i1 %14, label %15, label %21 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 @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %19) store i32 1, ptr %3, align 4 br label %97 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i32 @sqlite3_open(ptr noundef %24, ptr noundef %6) store i32 %25, ptr %8, align 4 %26 = load i32, ptr %8, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %35 28: ; preds = %21 %29 = load i32, ptr @stderr, align 4 %30 = load ptr, ptr %6, align 8 %31 = call ptr @sqlite3_errmsg(ptr noundef %30) %32 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.1, ptr noundef %31) %33 = load ptr, ptr %6, align 8 %34 = call i32 @sqlite3_close(ptr noundef %33) store i32 1, ptr %3, align 4 br label %97 35: ; preds = %21 store ptr @.str.2, ptr %9, align 8 store i32 141, ptr %11, align 4 %36 = getelementptr inbounds [800 x i8], ptr %10, i64 0, i64 0 %37 = load ptr, ptr %9, align 8 %38 = load i32, ptr %11, align 4 %39 = call i32 @strncpy(ptr noundef %36, ptr noundef %37, i32 noundef %38) %40 = load i32, ptr %11, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [800 x i8], ptr %10, i64 0, i64 %41 store i8 0, ptr %42, align 1 %43 = getelementptr inbounds [800 x i8], ptr %10, i64 0, i64 0 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds ptr, ptr %44, i64 2 %46 = load ptr, ptr %45, align 8 %47 = call i32 @strcat(ptr noundef %43, ptr noundef %46) %48 = getelementptr inbounds [800 x i8], ptr %10, i64 0, i64 0 %49 = load ptr, ptr %9, align 8 %50 = load i32, ptr %11, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 %53 = call i32 @strcat(ptr noundef %48, ptr noundef %52) %54 = load ptr, ptr %6, align 8 %55 = getelementptr inbounds [800 x i8], ptr %10, i64 0, i64 0 %56 = call i32 @sqlite3_prepare_v2(ptr noundef %54, ptr noundef %55, i32 noundef -1, ptr noundef %7, i32 noundef 0) store i32 %56, ptr %8, align 4 %57 = load i32, ptr %8, align 4 %58 = load i32, ptr @SQLITE_OK, align 4 %59 = icmp ne i32 %57, %58 br i1 %59, label %60, label %67 60: ; preds = %35 %61 = load i32, ptr @stderr, align 4 %62 = load ptr, ptr %6, align 8 %63 = call ptr @sqlite3_errmsg(ptr noundef %62) %64 = call i32 @fprintf(i32 noundef %61, ptr noundef @.str.3, ptr noundef %63) %65 = load ptr, ptr %6, align 8 %66 = call i32 @sqlite3_close(ptr noundef %65) store i32 1, ptr %3, align 4 br label %97 67: ; preds = %35 br label %68 68: ; preds = %88, %67 %69 = load ptr, ptr %7, align 8 %70 = call i32 @sqlite3_step(ptr noundef %69) store i32 %70, ptr %8, align 4 %71 = load i32, ptr @SQLITE_ROW, align 4 %72 = icmp eq i32 %70, %71 br i1 %72, label %73, label %94 73: ; preds = %68 store i32 0, ptr %12, align 4 br label %74 74: ; preds = %85, %73 %75 = load i32, ptr %12, align 4 %76 = load ptr, ptr %7, align 8 %77 = call i32 @sqlite3_column_count(ptr noundef %76) %78 = sub nsw i32 %77, 1 %79 = icmp slt i32 %75, %78 br i1 %79, label %80, label %88 80: ; preds = %74 %81 = load ptr, ptr %7, align 8 %82 = load i32, ptr %12, align 4 %83 = call ptr @sqlite3_column_text(ptr noundef %81, i32 noundef %82) %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %83) br label %85 85: ; preds = %80 %86 = load i32, ptr %12, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %12, align 4 br label %74, !llvm.loop !6 88: ; preds = %74 %89 = load ptr, ptr %7, align 8 %90 = load i32, ptr %12, align 4 %91 = call ptr @sqlite3_column_text(ptr noundef %89, i32 noundef %90) %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %91) %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %68, !llvm.loop !8 94: ; preds = %68 %95 = load ptr, ptr %7, align 8 %96 = call i32 @sqlite3_finalize(ptr noundef %95) store i32 0, ptr %3, align 4 br label %97 97: ; preds = %94, %60, %28, %15 %98 = load i32, ptr %3, align 4 ret i32 %98 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sqlite3_open(ptr noundef, ptr noundef) #1 declare ptr @sqlite3_errmsg(ptr noundef) #1 declare i32 @sqlite3_close(ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @sqlite3_prepare_v2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @sqlite3_step(ptr noundef) #1 declare i32 @sqlite3_column_count(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @sqlite3_column_text(ptr noundef, i32 noundef) #1 declare i32 @sqlite3_finalize(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpfuy7re3n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"Usage: %s <database file> <airport>\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Can't open database: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [584 x i8] c"WITH RECURSIVE test(Destination_airport) AS (select distinct routes.Destination_airport from airports, routes where routes.Source_airport = '' UNION select r.Destination_airport from routes r JOIN test t ON r.Source_airport = t.Destination_airport) select distinct ap.Name from airports ap, airlines a where (ap.IATA_FAA NOT IN test) and ap.IATA_FAA IN (select Source_airport from routes) and ap.IATA_FAA IN (select destination_airport from routes) and a.IATA != '' and a.ICAO != '' and a.Country != '' and a.Callsign != '' and a.Active = 'Y' and ap.IATA_FAA != '' and ap.ICAO != '';\00", align 1 @SQLITE_OK = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [24 x i8] c"Preparation failed: %s\0A\00", align 1 @SQLITE_ROW = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [4 x i8] c"%s|\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"\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 i32, align 4 %9 = alloca ptr, align 8 %10 = alloca [800 x i8], align 16 %11 = alloca i32, align 4 %12 = 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 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 3 br i1 %14, label %15, label %21 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 @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %19) store i32 1, ptr %3, align 4 br label %104 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i32 @sqlite3_open(ptr noundef %24, ptr noundef %6) store i32 %25, ptr %8, align 4 %26 = load i32, ptr %8, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %35 28: ; preds = %21 %29 = load i32, ptr @stderr, align 4 %30 = load ptr, ptr %6, align 8 %31 = call ptr @sqlite3_errmsg(ptr noundef %30) %32 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.1, ptr noundef %31) %33 = load ptr, ptr %6, align 8 %34 = call i32 @sqlite3_close(ptr noundef %33) store i32 1, ptr %3, align 4 br label %104 35: ; preds = %21 store ptr @.str.2, ptr %9, align 8 store i32 141, ptr %11, align 4 %36 = getelementptr inbounds [800 x i8], ptr %10, i64 0, i64 0 %37 = load ptr, ptr %9, align 8 %38 = load i32, ptr %11, align 4 %39 = call i32 @strncpy(ptr noundef %36, ptr noundef %37, i32 noundef %38) %40 = load i32, ptr %11, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [800 x i8], ptr %10, i64 0, i64 %41 store i8 0, ptr %42, align 1 %43 = getelementptr inbounds [800 x i8], ptr %10, i64 0, i64 0 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds ptr, ptr %44, i64 2 %46 = load ptr, ptr %45, align 8 %47 = call i32 @strcat(ptr noundef %43, ptr noundef %46) %48 = getelementptr inbounds [800 x i8], ptr %10, i64 0, i64 0 %49 = load ptr, ptr %9, align 8 %50 = load i32, ptr %11, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 %53 = call i32 @strcat(ptr noundef %48, ptr noundef %52) %54 = load ptr, ptr %6, align 8 %55 = getelementptr inbounds [800 x i8], ptr %10, i64 0, i64 0 %56 = call i32 @sqlite3_prepare_v2(ptr noundef %54, ptr noundef %55, i32 noundef -1, ptr noundef %7, i32 noundef 0) store i32 %56, ptr %8, align 4 %57 = load i32, ptr %8, align 4 %58 = load i32, ptr @SQLITE_OK, align 4 %59 = icmp ne i32 %57, %58 br i1 %59, label %60, label %67 60: ; preds = %35 %61 = load i32, ptr @stderr, align 4 %62 = load ptr, ptr %6, align 8 %63 = call ptr @sqlite3_errmsg(ptr noundef %62) %64 = call i32 @fprintf(i32 noundef %61, ptr noundef @.str.3, ptr noundef %63) %65 = load ptr, ptr %6, align 8 %66 = call i32 @sqlite3_close(ptr noundef %65) store i32 1, ptr %3, align 4 br label %104 67: ; preds = %35 %68 = load ptr, ptr %7, align 8 %69 = call i32 @sqlite3_step(ptr noundef %68) store i32 %69, ptr %8, align 4 %70 = load i32, ptr @SQLITE_ROW, align 4 %71 = icmp eq i32 %69, %70 br i1 %71, label %.lr.ph2, label %101 .lr.ph2: ; preds = %67 br label %72 72: ; preds = %.lr.ph2, %91 store i32 0, ptr %12, align 4 %73 = load i32, ptr %12, align 4 %74 = load ptr, ptr %7, align 8 %75 = call i32 @sqlite3_column_count(ptr noundef %74) %76 = sub nsw i32 %75, 1 %77 = icmp slt i32 %73, %76 br i1 %77, label %.lr.ph, label %91 .lr.ph: ; preds = %72 br label %78 78: ; preds = %.lr.ph, %83 %79 = load ptr, ptr %7, align 8 %80 = load i32, ptr %12, align 4 %81 = call ptr @sqlite3_column_text(ptr noundef %79, i32 noundef %80) %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %81) br label %83 83: ; preds = %78 %84 = load i32, ptr %12, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %12, align 4 %86 = load i32, ptr %12, align 4 %87 = load ptr, ptr %7, align 8 %88 = call i32 @sqlite3_column_count(ptr noundef %87) %89 = sub nsw i32 %88, 1 %90 = icmp slt i32 %86, %89 br i1 %90, label %78, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %83 br label %91 91: ; preds = %._crit_edge, %72 %92 = load ptr, ptr %7, align 8 %93 = load i32, ptr %12, align 4 %94 = call ptr @sqlite3_column_text(ptr noundef %92, i32 noundef %93) %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %94) %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %97 = load ptr, ptr %7, align 8 %98 = call i32 @sqlite3_step(ptr noundef %97) store i32 %98, ptr %8, align 4 %99 = load i32, ptr @SQLITE_ROW, align 4 %100 = icmp eq i32 %98, %99 br i1 %100, label %72, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %91 br label %101 101: ; preds = %._crit_edge3, %67 %102 = load ptr, ptr %7, align 8 %103 = call i32 @sqlite3_finalize(ptr noundef %102) store i32 0, ptr %3, align 4 br label %104 104: ; preds = %101, %60, %28, %15 %105 = load i32, ptr %3, align 4 ret i32 %105 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sqlite3_open(ptr noundef, ptr noundef) #1 declare ptr @sqlite3_errmsg(ptr noundef) #1 declare i32 @sqlite3_close(ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @sqlite3_prepare_v2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @sqlite3_step(ptr noundef) #1 declare i32 @sqlite3_column_count(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @sqlite3_column_text(ptr noundef, i32 noundef) #1 declare i32 @sqlite3_finalize(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpt5347pr5.c' source_filename = "/tmp/tmpt5347pr5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gob_end_struct_type(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 @gob_end_struct(ptr noundef %5, i64 noundef %6) ret i32 %7 } declare i32 @gob_end_struct(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/tmpt5347pr5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gob_end_struct_type(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 @gob_end_struct(ptr noundef %5, i64 noundef %6) ret i32 %7 } declare i32 @gob_end_struct(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/tmp0lvspsix.c' source_filename = "/tmp/tmp0lvspsix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fs_mr_seteattr(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6, i64 noundef %7) #0 { %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 %19 = alloca i64, align 8 %20 = alloca i64, align 8 %21 = alloca i64, align 8 store i64 %0, ptr %10, align 8 store i64 %1, ptr %11, align 8 store i64 %2, ptr %12, align 8 store i64 %3, ptr %13, align 8 store i64 %4, ptr %14, align 8 store i64 %5, ptr %15, align 8 store i64 %6, ptr %16, align 8 store i64 %7, ptr %17, align 8 %22 = load i64, ptr %10, align 8 %23 = load i64, ptr %11, align 8 %24 = load i64, ptr %12, align 8 %25 = load i64, ptr %13, align 8 %26 = load i64, ptr %14, align 8 %27 = call i64 @fs_univ_seteattr(i64 noundef %22, i32 noundef 0, i32 noundef 128, i64 noundef %23, i64 noundef %24, i64 noundef %25, i64 noundef %26, ptr noundef %18, ptr noundef %19, ptr noundef %20) store i64 %27, ptr %21, align 8 %28 = load i64, ptr %21, align 8 %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %8 %31 = load i64, ptr %21, align 8 store i64 %31, ptr %9, align 8 br label %46 32: ; preds = %8 %33 = load i64, ptr %15, align 8 %34 = load i64, ptr %18, align 8 %35 = icmp ne i64 %33, %34 br i1 %35, label %44, label %36 36: ; preds = %32 %37 = load i64, ptr %16, align 8 %38 = load i64, ptr %19, align 8 %39 = icmp ne i64 %37, %38 br i1 %39, label %44, label %40 40: ; preds = %36 %41 = load i64, ptr %17, align 8 %42 = load i64, ptr %20, align 8 %43 = icmp ne i64 %41, %42 br i1 %43, label %44, label %45 44: ; preds = %40, %36, %32 store i64 32, ptr %9, align 8 br label %46 45: ; preds = %40 store i64 0, ptr %9, align 8 br label %46 46: ; preds = %45, %44, %30 %47 = load i64, ptr %9, align 8 ret i64 %47 } declare i64 @fs_univ_seteattr(i64 noundef, i32 noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef, i64 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/tmp0lvspsix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fs_mr_seteattr(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6, i64 noundef %7) #0 { %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 %19 = alloca i64, align 8 %20 = alloca i64, align 8 %21 = alloca i64, align 8 store i64 %0, ptr %10, align 8 store i64 %1, ptr %11, align 8 store i64 %2, ptr %12, align 8 store i64 %3, ptr %13, align 8 store i64 %4, ptr %14, align 8 store i64 %5, ptr %15, align 8 store i64 %6, ptr %16, align 8 store i64 %7, ptr %17, align 8 %22 = load i64, ptr %10, align 8 %23 = load i64, ptr %11, align 8 %24 = load i64, ptr %12, align 8 %25 = load i64, ptr %13, align 8 %26 = load i64, ptr %14, align 8 %27 = call i64 @fs_univ_seteattr(i64 noundef %22, i32 noundef 0, i32 noundef 128, i64 noundef %23, i64 noundef %24, i64 noundef %25, i64 noundef %26, ptr noundef %18, ptr noundef %19, ptr noundef %20) store i64 %27, ptr %21, align 8 %28 = load i64, ptr %21, align 8 %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %8 %31 = load i64, ptr %21, align 8 store i64 %31, ptr %9, align 8 br label %46 32: ; preds = %8 %33 = load i64, ptr %15, align 8 %34 = load i64, ptr %18, align 8 %35 = icmp ne i64 %33, %34 br i1 %35, label %44, label %36 36: ; preds = %32 %37 = load i64, ptr %16, align 8 %38 = load i64, ptr %19, align 8 %39 = icmp ne i64 %37, %38 br i1 %39, label %44, label %40 40: ; preds = %36 %41 = load i64, ptr %17, align 8 %42 = load i64, ptr %20, align 8 %43 = icmp ne i64 %41, %42 br i1 %43, label %44, label %45 44: ; preds = %40, %36, %32 store i64 32, ptr %9, align 8 br label %46 45: ; preds = %40 store i64 0, ptr %9, align 8 br label %46 46: ; preds = %45, %44, %30 %47 = load i64, ptr %9, align 8 ret i64 %47 } declare i64 @fs_univ_seteattr(i64 noundef, i32 noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef, i64 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/tmpofbln0me.c' source_filename = "/tmp/tmpofbln0me.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Vuvedi teskt:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 %7 = call i32 @printf(ptr noundef @.str) %8 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8) br label %10 10: ; preds = %17, %0 %11 = load i32, ptr %6, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %10 %18 = load i32, ptr %6, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %6, align 4 br label %10, !llvm.loop !6 20: ; preds = %10 %21 = load i32, ptr %6, align 4 %22 = sub nsw i32 %21, 1 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %6, align 4 %24 = sdiv i32 %23, 2 store i32 %24, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %25 25: ; preds = %46, %20 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %49 29: ; preds = %25 %30 = load i32, ptr %3, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = load i32, ptr %5, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp ne i32 %34, %39 br i1 %40, label %41, label %43 41: ; preds = %29 %42 = call i32 @printf(ptr noundef @.str.2) br label %49 43: ; preds = %29 %44 = load i32, ptr %5, align 4 %45 = add nsw i32 %44, -1 store i32 %45, ptr %5, align 4 br label %46 46: ; preds = %43 %47 = load i32, ptr %3, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %3, align 4 br label %25, !llvm.loop !8 49: ; preds = %41, %25 %50 = load i32, ptr %3, align 4 %51 = load i32, ptr %4, align 4 %52 = icmp eq i32 %50, %51 br i1 %52, label %53, label %55 53: ; preds = %49 %54 = call i32 @printf(ptr noundef @.str.3) br label %55 55: ; preds = %53, %49 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpofbln0me.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Vuvedi teskt:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 %7 = call i32 @printf(ptr noundef @.str) %8 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8) %10 = load i32, ptr %6, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %.lr.ph, label %25 .lr.ph: ; preds = %0 br label %16 16: ; preds = %.lr.ph, %16 %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp ne i32 %23, 0 br i1 %24, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %25 25: ; preds = %._crit_edge, %0 %26 = load i32, ptr %6, align 4 %27 = sub nsw i32 %26, 1 store i32 %27, ptr %5, align 4 %28 = load i32, ptr %6, align 4 %29 = sdiv i32 %28, 2 store i32 %29, ptr %4, align 4 store i32 0, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %25 br label %33 33: ; preds = %.lr.ph2, %50 %34 = load i32, ptr %3, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = load i32, ptr %5, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %40 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp ne i32 %38, %43 br i1 %44, label %45, label %47 45: ; preds = %33 %46 = call i32 @printf(ptr noundef @.str.2) br label %56 47: ; preds = %33 %48 = load i32, ptr %5, align 4 %49 = add nsw i32 %48, -1 store i32 %49, ptr %5, align 4 br label %50 50: ; preds = %47 %51 = load i32, ptr %3, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %3, align 4 %53 = load i32, ptr %3, align 4 %54 = load i32, ptr %4, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %33, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %50 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %25 br label %56 56: ; preds = %.loopexit, %45 %57 = load i32, ptr %3, align 4 %58 = load i32, ptr %4, align 4 %59 = icmp eq i32 %57, %58 br i1 %59, label %60, label %62 60: ; preds = %56 %61 = call i32 @printf(ptr noundef @.str.3) br label %62 62: ; preds = %60, %56 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmphcd890wo.c' source_filename = "/tmp/tmphcd890wo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"libprint: _fini ()\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_fini() #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/tmphcd890wo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"libprint: _fini ()\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_fini() #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/tmpc8uqjbl2.c' source_filename = "/tmp/tmpc8uqjbl2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initial_form(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [2 x i32], align 4 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %13 = load i32, ptr %5, align 4 %14 = zext i32 %13 to i64 %15 = call ptr @llvm.stacksave() store ptr %15, ptr %10, align 8 %16 = alloca i32, i64 %14, align 16 store i64 %14, ptr %11, align 8 %17 = load i32, ptr %4, align 4 %18 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 store i32 %17, ptr %18, align 4 %19 = load i32, ptr %5, align 4 %20 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1 store i32 %19, ptr %20, align 4 store i32 0, ptr %8, align 4 br label %21 21: ; preds = %35, %3 %22 = load i32, ptr %8, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %38 25: ; preds = %21 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %8, 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 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %16, i64 %33 store i32 %31, ptr %34, align 4 br label %35 35: ; preds = %25 %36 = load i32, ptr %8, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %8, align 4 br label %21, !llvm.loop !6 38: ; preds = %21 %39 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %40 = load ptr, ptr %12, align 8 %41 = call i32 @_ada_use_c2phc(i32 noundef 589, ptr noundef %39, ptr noundef %16, ptr noundef %40) store i32 %41, ptr %7, align 4 %42 = load i32, ptr %7, align 4 %43 = load ptr, ptr %10, align 8 call void @llvm.stackrestore(ptr %43) ret i32 %42 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc8uqjbl2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initial_form(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [2 x i32], align 4 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %13 = load i32, ptr %5, align 4 %14 = zext i32 %13 to i64 %15 = call ptr @llvm.stacksave() store ptr %15, ptr %10, align 8 %16 = alloca i32, i64 %14, align 16 store i64 %14, ptr %11, align 8 %17 = load i32, ptr %4, align 4 %18 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 store i32 %17, ptr %18, align 4 %19 = load i32, ptr %5, align 4 %20 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1 store i32 %19, ptr %20, align 4 store i32 0, ptr %8, align 4 %21 = load i32, ptr %8, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph, label %40 .lr.ph: ; preds = %3 br label %24 24: ; preds = %.lr.ph, %34 %25 = load ptr, ptr %6, align 8 %26 = load i32, ptr %8, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %16, i64 %32 store i32 %30, ptr %33, align 4 br label %34 34: ; preds = %24 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 %37 = load i32, ptr %8, align 4 %38 = load i32, ptr %5, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %40 40: ; preds = %._crit_edge, %3 %41 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %42 = load ptr, ptr %12, align 8 %43 = call i32 @_ada_use_c2phc(i32 noundef 589, ptr noundef %41, ptr noundef %16, ptr noundef %42) store i32 %43, ptr %7, align 4 %44 = load i32, ptr %7, align 4 %45 = load ptr, ptr %10, align 8 call void @llvm.stackrestore(ptr %45) ret i32 %44 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpmczzdpke.c' source_filename = "/tmp/tmpmczzdpke.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"****** File Contents *******\0A%s\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Permission denied.\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 ptr, align 8 %11 = alloca [512 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 %12 = call i32 (...) @getuid() store i32 %12, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 @allowedAccess(i32 noundef %13, ptr noundef %16) store i32 %17, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %35 20: ; preds = %2 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 store ptr %23, ptr %10, align 8 %24 = load ptr, ptr %10, align 8 %25 = load i32, ptr @O_RDONLY, align 4 %26 = load i32, ptr @S_IRUSR, align 4 %27 = call i32 @open(ptr noundef %24, i32 noundef %25, i32 noundef %26) store i32 %27, ptr %9, align 4 %28 = load i32, ptr %9, align 4 %29 = getelementptr inbounds [512 x i8], ptr %11, i64 0, i64 0 %30 = call i32 @read(i32 noundef %28, ptr noundef %29, i32 noundef 512) store i32 %30, ptr %8, align 4 %31 = load i32, ptr %9, align 4 %32 = call i32 @close(i32 noundef %31) %33 = getelementptr inbounds [512 x i8], ptr %11, i64 0, i64 0 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %33) br label %38 35: ; preds = %2 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %37 = call i32 @exit(i32 noundef 1) #3 unreachable 38: ; preds = %20 ret i32 0 } declare i32 @getuid(...) #1 declare i32 @allowedAccess(i32 noundef, ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 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/tmpmczzdpke.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"****** File Contents *******\0A%s\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Permission denied.\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 ptr, align 8 %11 = alloca [512 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 %12 = call i32 (...) @getuid() store i32 %12, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 @allowedAccess(i32 noundef %13, ptr noundef %16) store i32 %17, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %35 20: ; preds = %2 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 store ptr %23, ptr %10, align 8 %24 = load ptr, ptr %10, align 8 %25 = load i32, ptr @O_RDONLY, align 4 %26 = load i32, ptr @S_IRUSR, align 4 %27 = call i32 @open(ptr noundef %24, i32 noundef %25, i32 noundef %26) store i32 %27, ptr %9, align 4 %28 = load i32, ptr %9, align 4 %29 = getelementptr inbounds [512 x i8], ptr %11, i64 0, i64 0 %30 = call i32 @read(i32 noundef %28, ptr noundef %29, i32 noundef 512) store i32 %30, ptr %8, align 4 %31 = load i32, ptr %9, align 4 %32 = call i32 @close(i32 noundef %31) %33 = getelementptr inbounds [512 x i8], ptr %11, i64 0, i64 0 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %33) br label %38 35: ; preds = %2 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %37 = call i32 @exit(i32 noundef 1) #3 unreachable 38: ; preds = %20 ret i32 0 } declare i32 @getuid(...) #1 declare i32 @allowedAccess(i32 noundef, ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 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/tmp3u9u28ma.c' source_filename = "/tmp/tmp3u9u28ma.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @malloc_out_parameter_ok(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i64 @malloc(i32 noundef 4) %4 = inttoptr i64 %3 to ptr %5 = load ptr, ptr %2, align 8 store ptr %4, ptr %5, align 8 ret void } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3u9u28ma.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @malloc_out_parameter_ok(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i64 @malloc(i32 noundef 4) %4 = inttoptr i64 %3 to ptr %5 = load ptr, ptr %2, align 8 store ptr %4, ptr %5, align 8 ret void } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzy6pbnm1.c' source_filename = "/tmp/tmpzy6pbnm1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_stack_pointer() #0 { %1 = call i32 @__builtin_rx_mvfc(i32 noundef 2) ret i32 %1 } declare i32 @__builtin_rx_mvfc(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/tmpzy6pbnm1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_stack_pointer() #0 { %1 = call i32 @__builtin_rx_mvfc(i32 noundef 2) ret i32 %1 } declare i32 @__builtin_rx_mvfc(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/tmp5mktxcot.c' source_filename = "/tmp/tmp5mktxcot.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"\09Start test_malloc_guard\0A\00", align 1 @.str.1 = private unnamed_addr constant [62 x i8] c"\09\09Expect: #1 prefix corrupted, #2 postfix corrupted, #3 both\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"\09Finish test_malloc_guard\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_malloc_guard() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 (...) @test_malloc_startup() %7 = call ptr @p_malloc(i32 noundef 3) store ptr %7, ptr %1, align 8 %8 = call ptr @p_malloc(i32 noundef 3) store ptr %8, ptr %2, align 8 %9 = call ptr @p_malloc(i32 noundef 3) store ptr %9, ptr %3, align 8 %10 = call ptr @p_malloc(i32 noundef 3) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %1, align 8 %12 = icmp ne ptr %11, null %13 = zext i1 %12 to i32 %14 = call i32 @assert(i32 noundef %13) %15 = load ptr, ptr %2, align 8 %16 = icmp ne ptr %15, null %17 = zext i1 %16 to i32 %18 = call i32 @assert(i32 noundef %17) %19 = load ptr, ptr %3, align 8 %20 = icmp ne ptr %19, null %21 = zext i1 %20 to i32 %22 = call i32 @assert(i32 noundef %21) %23 = load ptr, ptr %4, align 8 %24 = icmp ne ptr %23, null %25 = zext i1 %24 to i32 %26 = call i32 @assert(i32 noundef %25) %27 = load ptr, ptr %2, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 -4 store i8 120, ptr %28, align 1 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 6 store i8 97, ptr %30, align 1 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 -1 store i8 53, ptr %32, align 1 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 3 store i8 55, ptr %34, align 1 %35 = load ptr, ptr %1, align 8 %36 = call i32 @p_free(ptr noundef %35) %37 = call i32 @printf(ptr noundef @.str.1) %38 = load ptr, ptr %2, align 8 %39 = call i32 @p_free(ptr noundef %38) %40 = load ptr, ptr %3, align 8 %41 = call i32 @p_free(ptr noundef %40) %42 = load ptr, ptr %4, align 8 %43 = call i32 @p_free(ptr noundef %42) %44 = call i32 (...) @test_malloc_cleanup() %45 = call i32 @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @test_malloc_startup(...) #1 declare ptr @p_malloc(i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @p_free(ptr noundef) #1 declare i32 @test_malloc_cleanup(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5mktxcot.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"\09Start test_malloc_guard\0A\00", align 1 @.str.1 = private unnamed_addr constant [62 x i8] c"\09\09Expect: #1 prefix corrupted, #2 postfix corrupted, #3 both\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"\09Finish test_malloc_guard\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_malloc_guard() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 (...) @test_malloc_startup() %7 = call ptr @p_malloc(i32 noundef 3) store ptr %7, ptr %1, align 8 %8 = call ptr @p_malloc(i32 noundef 3) store ptr %8, ptr %2, align 8 %9 = call ptr @p_malloc(i32 noundef 3) store ptr %9, ptr %3, align 8 %10 = call ptr @p_malloc(i32 noundef 3) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %1, align 8 %12 = icmp ne ptr %11, null %13 = zext i1 %12 to i32 %14 = call i32 @assert(i32 noundef %13) %15 = load ptr, ptr %2, align 8 %16 = icmp ne ptr %15, null %17 = zext i1 %16 to i32 %18 = call i32 @assert(i32 noundef %17) %19 = load ptr, ptr %3, align 8 %20 = icmp ne ptr %19, null %21 = zext i1 %20 to i32 %22 = call i32 @assert(i32 noundef %21) %23 = load ptr, ptr %4, align 8 %24 = icmp ne ptr %23, null %25 = zext i1 %24 to i32 %26 = call i32 @assert(i32 noundef %25) %27 = load ptr, ptr %2, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 -4 store i8 120, ptr %28, align 1 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 6 store i8 97, ptr %30, align 1 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 -1 store i8 53, ptr %32, align 1 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 3 store i8 55, ptr %34, align 1 %35 = load ptr, ptr %1, align 8 %36 = call i32 @p_free(ptr noundef %35) %37 = call i32 @printf(ptr noundef @.str.1) %38 = load ptr, ptr %2, align 8 %39 = call i32 @p_free(ptr noundef %38) %40 = load ptr, ptr %3, align 8 %41 = call i32 @p_free(ptr noundef %40) %42 = load ptr, ptr %4, align 8 %43 = call i32 @p_free(ptr noundef %42) %44 = call i32 (...) @test_malloc_cleanup() %45 = call i32 @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @test_malloc_startup(...) #1 declare ptr @p_malloc(i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @p_free(ptr noundef) #1 declare i32 @test_malloc_cleanup(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1onr8emr.c' source_filename = "/tmp/tmp1onr8emr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i16 @checksum(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i64 0, ptr %5, align 8 br label %6 6: ; preds = %9, %2 %7 = load i32, ptr %4, align 4 %8 = icmp sgt i32 %7, 1 br i1 %8, label %9, label %20 9: ; preds = %6 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds i16, ptr %10, i32 1 store ptr %11, ptr %3, align 8 %12 = load i16, ptr %10, align 2 %13 = zext i16 %12 to i64 %14 = load i64, ptr %5, align 8 %15 = add i64 %14, %13 store i64 %15, ptr %5, align 8 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = sub i64 %17, 2 %19 = trunc i64 %18 to i32 store i32 %19, ptr %4, align 4 br label %6, !llvm.loop !6 20: ; preds = %6 %21 = load i32, ptr %4, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %29 23: ; preds = %20 %24 = load ptr, ptr %3, align 8 %25 = load i8, ptr %24, align 1 %26 = zext i8 %25 to i64 %27 = load i64, ptr %5, align 8 %28 = add i64 %27, %26 store i64 %28, ptr %5, align 8 br label %29 29: ; preds = %23, %20 %30 = load i64, ptr %5, align 8 %31 = lshr i64 %30, 16 %32 = load i64, ptr %5, align 8 %33 = and i64 %32, 65535 %34 = add i64 %31, %33 store i64 %34, ptr %5, align 8 %35 = load i64, ptr %5, align 8 %36 = lshr i64 %35, 16 %37 = load i64, ptr %5, align 8 %38 = add i64 %37, %36 store i64 %38, ptr %5, align 8 %39 = load i64, ptr %5, align 8 %40 = xor i64 %39, -1 %41 = trunc i64 %40 to i16 ret i16 %41 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp1onr8emr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i16 @checksum(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i64 0, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp sgt i32 %6, 1 br i1 %7, label %.lr.ph, label %21 .lr.ph: ; preds = %2 br label %8 8: ; preds = %.lr.ph, %8 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds i16, ptr %9, i32 1 store ptr %10, ptr %3, align 8 %11 = load i16, ptr %9, align 2 %12 = zext i16 %11 to i64 %13 = load i64, ptr %5, align 8 %14 = add i64 %13, %12 store i64 %14, ptr %5, align 8 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = sub i64 %16, 2 %18 = trunc i64 %17 to i32 store i32 %18, ptr %4, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp sgt i32 %19, 1 br i1 %20, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %21 21: ; preds = %._crit_edge, %2 %22 = load i32, ptr %4, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %30 24: ; preds = %21 %25 = load ptr, ptr %3, align 8 %26 = load i8, ptr %25, align 1 %27 = zext i8 %26 to i64 %28 = load i64, ptr %5, align 8 %29 = add i64 %28, %27 store i64 %29, ptr %5, align 8 br label %30 30: ; preds = %24, %21 %31 = load i64, ptr %5, align 8 %32 = lshr i64 %31, 16 %33 = load i64, ptr %5, align 8 %34 = and i64 %33, 65535 %35 = add i64 %32, %34 store i64 %35, ptr %5, align 8 %36 = load i64, ptr %5, align 8 %37 = lshr i64 %36, 16 %38 = load i64, ptr %5, align 8 %39 = add i64 %38, %37 store i64 %39, ptr %5, align 8 %40 = load i64, ptr %5, align 8 %41 = xor i64 %40, -1 %42 = trunc i64 %41 to i16 ret i16 %42 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpklan02nu.c' source_filename = "/tmp/tmpklan02nu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_mvinchstr(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [256 x i32], align 16 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %8 = load i32, ptr %3, align 4 %9 = call i32 @check_arg_count(i32 noundef %8, i32 noundef 2) %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %12 11: ; preds = %2 br label %39 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i64 @sscanf(ptr noundef %15, ptr noundef @.str, ptr noundef %5) %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %12 %19 = call i32 @report_count(i32 noundef 1) %20 = call i32 @report_error(ptr noundef @.str.1) br label %39 21: ; preds = %12 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i64 @sscanf(ptr noundef %24, ptr noundef @.str, ptr noundef %6) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %21 %28 = call i32 @report_count(i32 noundef 1) %29 = call i32 @report_error(ptr noundef @.str.1) br label %39 30: ; preds = %21 %31 = call i32 @report_count(i32 noundef 2) %32 = load i32, ptr %5, align 4 %33 = load i32, ptr %6, align 4 %34 = getelementptr inbounds [256 x i32], ptr %7, i64 0, i64 0 %35 = call i32 @mvinchstr(i32 noundef %32, i32 noundef %33, ptr noundef %34) %36 = call i32 @report_return(i32 noundef %35) %37 = getelementptr inbounds [256 x i32], ptr %7, i64 0, i64 0 %38 = call i32 @report_nstr(ptr noundef %37) br label %39 39: ; preds = %30, %27, %18, %11 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_error(ptr noundef) #1 declare i32 @report_return(i32 noundef) #1 declare i32 @mvinchstr(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @report_nstr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpklan02nu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_mvinchstr(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [256 x i32], align 16 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %8 = load i32, ptr %3, align 4 %9 = call i32 @check_arg_count(i32 noundef %8, i32 noundef 2) %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %12 11: ; preds = %2 br label %39 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i64 @sscanf(ptr noundef %15, ptr noundef @.str, ptr noundef %5) %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %12 %19 = call i32 @report_count(i32 noundef 1) %20 = call i32 @report_error(ptr noundef @.str.1) br label %39 21: ; preds = %12 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i64 @sscanf(ptr noundef %24, ptr noundef @.str, ptr noundef %6) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %21 %28 = call i32 @report_count(i32 noundef 1) %29 = call i32 @report_error(ptr noundef @.str.1) br label %39 30: ; preds = %21 %31 = call i32 @report_count(i32 noundef 2) %32 = load i32, ptr %5, align 4 %33 = load i32, ptr %6, align 4 %34 = getelementptr inbounds [256 x i32], ptr %7, i64 0, i64 0 %35 = call i32 @mvinchstr(i32 noundef %32, i32 noundef %33, ptr noundef %34) %36 = call i32 @report_return(i32 noundef %35) %37 = getelementptr inbounds [256 x i32], ptr %7, i64 0, i64 0 %38 = call i32 @report_nstr(ptr noundef %37) br label %39 39: ; preds = %30, %27, %18, %11 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_error(ptr noundef) #1 declare i32 @report_return(i32 noundef) #1 declare i32 @mvinchstr(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @report_nstr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp34p1gqle.c' source_filename = "/tmp/tmp34p1gqle.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isprime(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 2 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %32 9: ; preds = %1 %10 = load i32, ptr %3, align 4 %11 = icmp eq i32 %10, 2 br i1 %11, label %12, label %13 12: ; preds = %9 store i32 1, ptr %2, align 4 br label %32 13: ; preds = %9 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 %16 = call i32 @sqrt(i32 noundef %15) store i32 %16, ptr %5, align 4 store i32 2, ptr %4, align 4 br label %17 17: ; preds = %28, %13 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %5, align 4 %20 = icmp sle i32 %18, %19 br i1 %20, label %21, label %31 21: ; preds = %17 %22 = load i32, ptr %3, align 4 %23 = load i32, ptr %4, align 4 %24 = srem i32 %22, %23 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %21 store i32 0, ptr %2, align 4 br label %32 27: ; preds = %21 br label %28 28: ; preds = %27 %29 = load i32, ptr %4, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %4, align 4 br label %17, !llvm.loop !6 31: ; preds = %17 store i32 1, ptr %2, align 4 br label %32 32: ; preds = %31, %26, %12, %8 %33 = load i32, ptr %2, align 4 ret i32 %33 } declare i32 @sqrt(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/tmp34p1gqle.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isprime(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 2 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %34 9: ; preds = %1 %10 = load i32, ptr %3, align 4 %11 = icmp eq i32 %10, 2 br i1 %11, label %12, label %13 12: ; preds = %9 store i32 1, ptr %2, align 4 br label %34 13: ; preds = %9 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 %16 = call i32 @sqrt(i32 noundef %15) store i32 %16, ptr %5, align 4 store i32 2, ptr %4, align 4 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp sle i32 %17, %18 br i1 %19, label %.lr.ph, label %33 .lr.ph: ; preds = %13 br label %20 20: ; preds = %.lr.ph, %27 %21 = load i32, ptr %3, align 4 %22 = load i32, ptr %4, align 4 %23 = srem i32 %21, %22 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %20 store i32 0, ptr %2, align 4 br label %34 26: ; preds = %20 br label %27 27: ; preds = %26 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %4, align 4 %30 = load i32, ptr %4, align 4 %31 = load i32, ptr %5, align 4 %32 = icmp sle i32 %30, %31 br i1 %32, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %13 store i32 1, ptr %2, align 4 br label %34 34: ; preds = %33, %25, %12, %8 %35 = load i32, ptr %2, align 4 ret i32 %35 } declare i32 @sqrt(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/tmpuo5cbkyu.c' source_filename = "/tmp/tmpuo5cbkyu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mem_write_null(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuo5cbkyu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mem_write_null(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpphb49fca.c' source_filename = "/tmp/tmpphb49fca.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"EndLoadIgorData\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @EndLoadIgorData(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %8 = call i32 @CheckRunningInMainThread(ptr noundef @.str) %9 = icmp ne i32 %8, 0 br i1 %9, label %11, label %10 10: ; preds = %3 store i32 978, ptr %4, align 4 br label %19 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %6, align 4 %14 = sext i32 %13 to i64 %15 = inttoptr i64 %14 to ptr %16 = load ptr, ptr %7, align 8 %17 = call i64 @CallBack3(i32 noundef 155, ptr noundef %12, ptr noundef %15, ptr noundef %16) %18 = trunc i64 %17 to i32 store i32 %18, ptr %4, align 4 br label %19 19: ; preds = %11, %10 %20 = load i32, ptr %4, align 4 ret i32 %20 } declare i32 @CheckRunningInMainThread(ptr noundef) #1 declare i64 @CallBack3(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/tmpphb49fca.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"EndLoadIgorData\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @EndLoadIgorData(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %8 = call i32 @CheckRunningInMainThread(ptr noundef @.str) %9 = icmp ne i32 %8, 0 br i1 %9, label %11, label %10 10: ; preds = %3 store i32 978, ptr %4, align 4 br label %19 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %6, align 4 %14 = sext i32 %13 to i64 %15 = inttoptr i64 %14 to ptr %16 = load ptr, ptr %7, align 8 %17 = call i64 @CallBack3(i32 noundef 155, ptr noundef %12, ptr noundef %15, ptr noundef %16) %18 = trunc i64 %17 to i32 store i32 %18, ptr %4, align 4 br label %19 19: ; preds = %11, %10 %20 = load i32, ptr %4, align 4 ret i32 %20 } declare i32 @CheckRunningInMainThread(ptr noundef) #1 declare i64 @CallBack3(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/tmp_0zm5n9y.c' source_filename = "/tmp/tmp_0zm5n9y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"socket error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Socket(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 %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef %10) store i32 %11, ptr %7, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %3 %14 = call i32 @err_sys(ptr noundef @.str) br label %15 15: ; preds = %13, %3 %16 = load i32, ptr %7, align 4 ret i32 %16 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @err_sys(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_0zm5n9y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"socket error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Socket(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 %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef %10) store i32 %11, ptr %7, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %3 %14 = call i32 @err_sys(ptr noundef @.str) br label %15 15: ; preds = %13, %3 %16 = load i32, ptr %7, align 4 ret i32 %16 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @err_sys(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx9s03zlm.c' source_filename = "/tmp/tmpx9s03zlm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"share\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Gjms10592817877212_br_find_data_dir(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = call ptr @Gjms10592817877212_br_find_prefix(ptr noundef null) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %16 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load ptr, ptr %3, align 8 %14 = call ptr @strdup(ptr noundef %13) store ptr %14, ptr %2, align 8 br label %22 15: ; preds = %9 store ptr null, ptr %2, align 8 br label %22 16: ; preds = %1 %17 = load ptr, ptr %4, align 8 %18 = call ptr @Gjms10592817877212_br_build_path(ptr noundef %17, ptr noundef @.str) store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %4, align 8 %20 = call i32 @free(ptr noundef %19) %21 = load ptr, ptr %5, align 8 store ptr %21, ptr %2, align 8 br label %22 22: ; preds = %16, %15, %12 %23 = load ptr, ptr %2, align 8 ret ptr %23 } declare ptr @Gjms10592817877212_br_find_prefix(ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 declare ptr @Gjms10592817877212_br_build_path(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx9s03zlm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"share\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Gjms10592817877212_br_find_data_dir(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = call ptr @Gjms10592817877212_br_find_prefix(ptr noundef null) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %16 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load ptr, ptr %3, align 8 %14 = call ptr @strdup(ptr noundef %13) store ptr %14, ptr %2, align 8 br label %22 15: ; preds = %9 store ptr null, ptr %2, align 8 br label %22 16: ; preds = %1 %17 = load ptr, ptr %4, align 8 %18 = call ptr @Gjms10592817877212_br_build_path(ptr noundef %17, ptr noundef @.str) store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %4, align 8 %20 = call i32 @free(ptr noundef %19) %21 = load ptr, ptr %5, align 8 store ptr %21, ptr %2, align 8 br label %22 22: ; preds = %16, %15, %12 %23 = load ptr, ptr %2, align 8 ret ptr %23 } declare ptr @Gjms10592817877212_br_find_prefix(ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 declare ptr @Gjms10592817877212_br_build_path(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvf1fzt61.c' source_filename = "/tmp/tmpvf1fzt61.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"I become the guy.\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Oh, my keyboard!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [101 x i32], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 br label %9 9: ; preds = %12, %0 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 101 br i1 %11, label %12, label %18 12: ; preds = %9 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [101 x i32], ptr %8, i64 0, i64 %14 store i32 0, ptr %15, align 4 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %5, align 4 br label %9, !llvm.loop !6 18: ; preds = %9 store i32 0, ptr %5, align 4 %19 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %20 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) br label %21 21: ; preds = %36, %18 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %3, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %39 25: ; preds = %21 %26 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [101 x i32], ptr %8, i64 0, i64 %28 %30 = load i32, ptr %29, align 4 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %25 %33 = load i32, ptr %6, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [101 x i32], ptr %8, i64 0, i64 %34 store i32 1, ptr %35, align 4 br label %36 36: ; preds = %32, %25 %37 = load i32, ptr %5, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %5, align 4 br label %21, !llvm.loop !8 39: ; preds = %21 store i32 0, ptr %5, align 4 %40 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) br label %41 41: ; preds = %56, %39 %42 = load i32, ptr %5, align 4 %43 = load i32, ptr %4, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %45, label %59 45: ; preds = %41 %46 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) %47 = load i32, ptr %6, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [101 x i32], ptr %8, i64 0, i64 %48 %50 = load i32, ptr %49, align 4 %51 = icmp eq i32 %50, 0 br i1 %51, label %52, label %56 52: ; preds = %45 %53 = load i32, ptr %6, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [101 x i32], ptr %8, i64 0, i64 %54 store i32 1, ptr %55, align 4 br label %56 56: ; preds = %52, %45 %57 = load i32, ptr %5, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %5, align 4 br label %41, !llvm.loop !9 59: ; preds = %41 store i32 1, ptr %5, align 4 store i32 0, ptr %7, align 4 br label %60 60: ; preds = %76, %59 %61 = load i32, ptr %5, align 4 %62 = load i32, ptr %2, align 4 %63 = icmp sle i32 %61, %62 br i1 %63, label %64, label %67 64: ; preds = %60 %65 = load i32, ptr %7, align 4 %66 = icmp eq i32 %65, 0 br label %67 67: ; preds = %64, %60 %68 = phi i1 [ false, %60 ], [ %66, %64 ] br i1 %68, label %69, label %79 69: ; preds = %67 %70 = load i32, ptr %5, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [101 x i32], ptr %8, i64 0, i64 %71 %73 = load i32, ptr %72, align 4 %74 = icmp eq i32 %73, 0 br i1 %74, label %75, label %76 75: ; preds = %69 store i32 1, ptr %7, align 4 br label %76 76: ; preds = %75, %69 %77 = load i32, ptr %5, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %5, align 4 br label %60, !llvm.loop !10 79: ; preds = %67 %80 = load i32, ptr %7, align 4 %81 = icmp eq i32 %80, 0 br i1 %81, label %82, label %84 82: ; preds = %79 %83 = call i32 @printf(ptr noundef @.str.1) br label %86 84: ; preds = %79 %85 = call i32 @printf(ptr noundef @.str.2) br label %86 86: ; preds = %84, %82 %87 = load i32, ptr %1, align 4 ret i32 %87 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvf1fzt61.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"I become the guy.\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Oh, my keyboard!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [101 x i32], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 101 br i1 %10, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %11 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [101 x i32], ptr %8, i64 0, i64 %13 store i32 0, ptr %14, align 4 %15 = load i32, ptr %5, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %17, 101 br i1 %18, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %19 19: ; preds = %._crit_edge, %0 store i32 0, ptr %5, align 4 %20 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %21 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %3, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph2, label %42 .lr.ph2: ; preds = %19 br label %25 25: ; preds = %.lr.ph2, %36 %26 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [101 x i32], ptr %8, i64 0, i64 %28 %30 = load i32, ptr %29, align 4 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %25 %33 = load i32, ptr %6, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [101 x i32], ptr %8, i64 0, i64 %34 store i32 1, ptr %35, align 4 br label %36 36: ; preds = %32, %25 %37 = load i32, ptr %5, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %5, align 4 %39 = load i32, ptr %5, align 4 %40 = load i32, ptr %3, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %25, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %36 br label %42 42: ; preds = %._crit_edge3, %19 store i32 0, ptr %5, align 4 %43 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %44 = load i32, ptr %5, align 4 %45 = load i32, ptr %4, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %.lr.ph5, label %64 .lr.ph5: ; preds = %42 br label %47 47: ; preds = %.lr.ph5, %58 %48 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) %49 = load i32, ptr %6, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [101 x i32], ptr %8, i64 0, i64 %50 %52 = load i32, ptr %51, align 4 %53 = icmp eq i32 %52, 0 br i1 %53, label %54, label %58 54: ; preds = %47 %55 = load i32, ptr %6, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [101 x i32], ptr %8, i64 0, i64 %56 store i32 1, ptr %57, align 4 br label %58 58: ; preds = %54, %47 %59 = load i32, ptr %5, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %5, align 4 %61 = load i32, ptr %5, align 4 %62 = load i32, ptr %4, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %47, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %58 br label %64 64: ; preds = %._crit_edge6, %42 store i32 1, ptr %5, align 4 store i32 0, ptr %7, align 4 br label %65 65: ; preds = %81, %64 %66 = load i32, ptr %5, align 4 %67 = load i32, ptr %2, align 4 %68 = icmp sle i32 %66, %67 br i1 %68, label %69, label %72 69: ; preds = %65 %70 = load i32, ptr %7, align 4 %71 = icmp eq i32 %70, 0 br label %72 72: ; preds = %69, %65 %73 = phi i1 [ false, %65 ], [ %71, %69 ] br i1 %73, label %74, label %84 74: ; preds = %72 %75 = load i32, ptr %5, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [101 x i32], ptr %8, i64 0, i64 %76 %78 = load i32, ptr %77, align 4 %79 = icmp eq i32 %78, 0 br i1 %79, label %80, label %81 80: ; preds = %74 store i32 1, ptr %7, align 4 br label %81 81: ; preds = %80, %74 %82 = load i32, ptr %5, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %5, align 4 br label %65, !llvm.loop !10 84: ; preds = %72 %85 = load i32, ptr %7, align 4 %86 = icmp eq i32 %85, 0 br i1 %86, label %87, label %89 87: ; preds = %84 %88 = call i32 @printf(ptr noundef @.str.1) br label %91 89: ; preds = %84 %90 = call i32 @printf(ptr noundef @.str.2) br label %91 91: ; preds = %89, %87 %92 = load i32, ptr %1, align 4 ret i32 %92 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmphhfdtb70.c' source_filename = "/tmp/tmphhfdtb70.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @getrandom(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = uitofp i64 %3 to double %5 = call double (...) @rand() %6 = load double, ptr @RAND_MAX, align 8 %7 = fadd double %6, 1.000000e+00 %8 = fdiv double %5, %7 %9 = fmul double %4, %8 %10 = fptoui double %9 to i64 %11 = add i64 1, %10 ret i64 %11 } declare double @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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphhfdtb70.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @getrandom(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = uitofp i64 %3 to double %5 = call double (...) @rand() %6 = load double, ptr @RAND_MAX, align 8 %7 = fadd double %6, 1.000000e+00 %8 = fdiv double %5, %7 %9 = fmul double %4, %8 %10 = fptoui double %9 to i64 %11 = add i64 1, %10 ret i64 %11 } declare double @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"}
; ModuleID = '/tmp/tmpcvrt8u45.c' source_filename = "/tmp/tmpcvrt8u45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @multiDimensionalArrayPointerCasts.x = internal global [10 x [10 x i32]] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @multiDimensionalArrayPointerCasts() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr getelementptr inbounds ([10 x [10 x i32]], ptr @multiDimensionalArrayPointerCasts.x, i64 0, i64 3, i64 5), ptr %1, align 8 %5 = load ptr, ptr %1, align 8 %6 = getelementptr inbounds i8, ptr %5, i64 2 store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 -2 store ptr %8, ptr %3, align 8 store ptr getelementptr inbounds (i32, ptr @multiDimensionalArrayPointerCasts.x, i64 35), ptr %4, align 8 %9 = load ptr, ptr %1, align 8 %10 = load ptr, ptr %3, align 8 %11 = icmp eq ptr %9, %10 %12 = zext i1 %11 to i32 %13 = call i32 @clang_analyzer_eval(i32 noundef %12) %14 = load ptr, ptr %1, align 8 %15 = load ptr, ptr %3, align 8 %16 = ptrtoint ptr %14 to i64 %17 = ptrtoint ptr %15 to i64 %18 = sub i64 %16, %17 %19 = sdiv exact i64 %18, 4 %20 = trunc i64 %19 to i32 %21 = call i32 @clang_analyzer_eval(i32 noundef %20) %22 = load ptr, ptr %1, align 8 %23 = load i32, ptr %22, align 4 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %24, align 4 %26 = icmp eq i32 %23, %25 %27 = zext i1 %26 to i32 %28 = call i32 @clang_analyzer_eval(i32 noundef %27) %29 = load ptr, ptr %1, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = load ptr, ptr %3, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %31, %34 %36 = zext i1 %35 to i32 %37 = call i32 @clang_analyzer_eval(i32 noundef %36) %38 = load ptr, ptr %1, align 8 %39 = load ptr, ptr %4, align 8 %40 = icmp eq ptr %38, %39 %41 = zext i1 %40 to i32 %42 = call i32 @clang_analyzer_eval(i32 noundef %41) %43 = load ptr, ptr %1, align 8 %44 = load ptr, ptr %4, align 8 %45 = ptrtoint ptr %43 to i64 %46 = ptrtoint ptr %44 to i64 %47 = sub i64 %45, %46 %48 = sdiv exact i64 %47, 4 %49 = trunc i64 %48 to i32 %50 = call i32 @clang_analyzer_eval(i32 noundef %49) %51 = load ptr, ptr %1, align 8 %52 = load i32, ptr %51, align 4 %53 = load ptr, ptr %4, align 8 %54 = load i32, ptr %53, align 4 %55 = icmp eq i32 %52, %54 %56 = zext i1 %55 to i32 %57 = call i32 @clang_analyzer_eval(i32 noundef %56) %58 = load ptr, ptr %1, align 8 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = load ptr, ptr %4, align 8 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = icmp eq i32 %60, %63 %65 = zext i1 %64 to i32 %66 = call i32 @clang_analyzer_eval(i32 noundef %65) ret void } declare i32 @clang_analyzer_eval(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/tmpcvrt8u45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @multiDimensionalArrayPointerCasts.x = internal global [10 x [10 x i32]] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @multiDimensionalArrayPointerCasts() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr getelementptr inbounds ([10 x [10 x i32]], ptr @multiDimensionalArrayPointerCasts.x, i64 0, i64 3, i64 5), ptr %1, align 8 %5 = load ptr, ptr %1, align 8 %6 = getelementptr inbounds i8, ptr %5, i64 2 store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 -2 store ptr %8, ptr %3, align 8 store ptr getelementptr inbounds (i32, ptr @multiDimensionalArrayPointerCasts.x, i64 35), ptr %4, align 8 %9 = load ptr, ptr %1, align 8 %10 = load ptr, ptr %3, align 8 %11 = icmp eq ptr %9, %10 %12 = zext i1 %11 to i32 %13 = call i32 @clang_analyzer_eval(i32 noundef %12) %14 = load ptr, ptr %1, align 8 %15 = load ptr, ptr %3, align 8 %16 = ptrtoint ptr %14 to i64 %17 = ptrtoint ptr %15 to i64 %18 = sub i64 %16, %17 %19 = sdiv exact i64 %18, 4 %20 = trunc i64 %19 to i32 %21 = call i32 @clang_analyzer_eval(i32 noundef %20) %22 = load ptr, ptr %1, align 8 %23 = load i32, ptr %22, align 4 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %24, align 4 %26 = icmp eq i32 %23, %25 %27 = zext i1 %26 to i32 %28 = call i32 @clang_analyzer_eval(i32 noundef %27) %29 = load ptr, ptr %1, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = load ptr, ptr %3, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %31, %34 %36 = zext i1 %35 to i32 %37 = call i32 @clang_analyzer_eval(i32 noundef %36) %38 = load ptr, ptr %1, align 8 %39 = load ptr, ptr %4, align 8 %40 = icmp eq ptr %38, %39 %41 = zext i1 %40 to i32 %42 = call i32 @clang_analyzer_eval(i32 noundef %41) %43 = load ptr, ptr %1, align 8 %44 = load ptr, ptr %4, align 8 %45 = ptrtoint ptr %43 to i64 %46 = ptrtoint ptr %44 to i64 %47 = sub i64 %45, %46 %48 = sdiv exact i64 %47, 4 %49 = trunc i64 %48 to i32 %50 = call i32 @clang_analyzer_eval(i32 noundef %49) %51 = load ptr, ptr %1, align 8 %52 = load i32, ptr %51, align 4 %53 = load ptr, ptr %4, align 8 %54 = load i32, ptr %53, align 4 %55 = icmp eq i32 %52, %54 %56 = zext i1 %55 to i32 %57 = call i32 @clang_analyzer_eval(i32 noundef %56) %58 = load ptr, ptr %1, align 8 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = load ptr, ptr %4, align 8 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = icmp eq i32 %60, %63 %65 = zext i1 %64 to i32 %66 = call i32 @clang_analyzer_eval(i32 noundef %65) ret void } declare i32 @clang_analyzer_eval(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/tmpaz7ts57n.c' source_filename = "/tmp/tmpaz7ts57n.c" target datalayout = "e-m:e-p270: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/tmpaz7ts57n.c" target datalayout = "e-m:e-p270: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/tmpb_iyklzt.c' source_filename = "/tmp/tmpb_iyklzt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @db_add_first_process(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 @db_add_process(ptr noundef %5, i32 noundef -2, ptr noundef %6, i32 noundef 0) ret i32 %7 } declare i32 @db_add_process(ptr 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/tmpb_iyklzt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @db_add_first_process(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 @db_add_process(ptr noundef %5, i32 noundef -2, ptr noundef %6, i32 noundef 0) ret i32 %7 } declare i32 @db_add_process(ptr 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/tmpgx6k8ab1.c' source_filename = "/tmp/tmpgx6k8ab1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"kill\0A\00", align 1 @EPERM = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @kill(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 = call i32 @printf(ptr noundef @.str) %6 = load i32, ptr @EPERM, align 4 store i32 %6, ptr @errno, align 4 ret i32 -1 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgx6k8ab1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"kill\0A\00", align 1 @EPERM = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @kill(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 = call i32 @printf(ptr noundef @.str) %6 = load i32, ptr @EPERM, align 4 store i32 %6, ptr @errno, align 4 ret i32 -1 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpma0je1jw.c' source_filename = "/tmp/tmpma0je1jw.c" target datalayout = "e-m:e-p270: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/tmpma0je1jw.c" target datalayout = "e-m:e-p270: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/tmp1lnyr6xx.c' source_filename = "/tmp/tmp1lnyr6xx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter a number for fib computation.\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Try again? Enter y/n.\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c" %c\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 i8, align 1 store i32 0, ptr %1, align 4 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) store i32 0, ptr %3, align 4 br label %7 7: ; preds = %14, %0 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %17 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = call i32 @Loop(i32 noundef %12) br label %14 14: ; preds = %11 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 br label %7, !llvm.loop !6 17: ; preds = %7 %18 = call i32 @printf(ptr noundef @.str.2) %19 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %4) %20 = load i8, ptr %4, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 121 br i1 %22, label %23, label %25 23: ; preds = %17 %24 = call i32 @main() br label %25 25: ; preds = %23, %17 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ...) #1 declare i32 @Loop(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/tmp1lnyr6xx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter a number for fib computation.\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Try again? Enter y/n.\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c" %c\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 i8, align 1 store i32 0, ptr %1, align 4 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %13 %11 = load i32, ptr %3, align 4 %12 = call i32 @Loop(i32 noundef %11) br label %13 13: ; preds = %10 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %19 19: ; preds = %._crit_edge, %0 %20 = call i32 @printf(ptr noundef @.str.2) %21 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %4) %22 = load i8, ptr %4, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 121 br i1 %24, label %25, label %27 25: ; preds = %19 %26 = call i32 @main() br label %27 27: ; preds = %25, %19 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ...) #1 declare i32 @Loop(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/tmpqer5do2k.c' source_filename = "/tmp/tmpqer5do2k.c" target datalayout = "e-m:e-p270: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/tmpqer5do2k.c" target datalayout = "e-m:e-p270: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/tmpghplt2z3.c' source_filename = "/tmp/tmpghplt2z3.c" target datalayout = "e-m:e-p270: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/tmpghplt2z3.c" target datalayout = "e-m:e-p270: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/tmpu_oxrv0h.c' source_filename = "/tmp/tmpu_oxrv0h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\22\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"\\x%02X\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"\22\0A\22\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %5 5: ; preds = %18, %0 %6 = call i32 (...) @getchar() store i32 %6, ptr %2, align 4 %7 = load i32, ptr @EOF, align 4 %8 = icmp ne i32 %6, %7 br i1 %8, label %9, label %19 9: ; preds = %5 %10 = load i32, ptr %2, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10) %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %3, align 4 %14 = srem i32 %13, 10 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %9 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %18 18: ; preds = %16, %9 br label %5, !llvm.loop !6 19: ; preds = %5 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpu_oxrv0h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\22\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"\\x%02X\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"\22\0A\22\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 (...) @getchar() store i32 %5, ptr %2, align 4 %6 = load i32, ptr @EOF, align 4 %7 = icmp ne i32 %5, %6 br i1 %7, label %.lr.ph, label %21 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %17 %9 = load i32, ptr %2, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %9) %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %3, align 4 %13 = srem i32 %12, 10 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %8 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %17 17: ; preds = %15, %8 %18 = call i32 (...) @getchar() store i32 %18, ptr %2, align 4 %19 = load i32, ptr @EOF, align 4 %20 = icmp ne i32 %18, %19 br i1 %20, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %21 21: ; preds = %._crit_edge, %0 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpk5ct7_b1.c' source_filename = "/tmp/tmpk5ct7_b1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"i currently equals %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @thread_fcn(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %11, %1 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 5 br i1 %6, label %7, label %14 7: ; preds = %4 %8 = load i32, ptr %3, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = call i32 @sleep(i32 noundef 1) 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 br label %4, !llvm.loop !6 14: ; preds = %4 ret ptr null } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk5ct7_b1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"i currently equals %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @thread_fcn(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 5 br i1 %5, label %.lr.ph, label %15 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %10 %7 = load i32, ptr %3, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %7) %9 = call i32 @sleep(i32 noundef 1) br label %10 10: ; preds = %6 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %13, 5 br i1 %14, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %15 15: ; preds = %._crit_edge, %1 ret ptr null } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpazv4fhbz.c' source_filename = "/tmp/tmpazv4fhbz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LCDIntClear(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 = icmp eq i32 %5, 1141178368 %7 = zext i1 %6 to i32 %8 = call i32 @ASSERT(i32 noundef %7) %9 = load i32, ptr %4, align 4 %10 = and i32 %9, -880 %11 = icmp ne i32 %10, 0 %12 = xor i1 %11, true %13 = zext i1 %12 to i32 %14 = call i32 @ASSERT(i32 noundef %13) %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 92 %18 = sext i32 %17 to i64 %19 = inttoptr i64 %18 to ptr store volatile i32 %15, ptr %19, align 4 ret void } declare i32 @ASSERT(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpazv4fhbz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LCDIntClear(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 = icmp eq i32 %5, 1141178368 %7 = zext i1 %6 to i32 %8 = call i32 @ASSERT(i32 noundef %7) %9 = load i32, ptr %4, align 4 %10 = and i32 %9, -880 %11 = icmp ne i32 %10, 0 %12 = xor i1 %11, true %13 = zext i1 %12 to i32 %14 = call i32 @ASSERT(i32 noundef %13) %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 92 %18 = sext i32 %17 to i64 %19 = inttoptr i64 %18 to ptr store volatile i32 %15, ptr %19, align 4 ret void } declare i32 @ASSERT(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr06sdk7j.c' source_filename = "/tmp/tmpr06sdk7j.c" target datalayout = "e-m:e-p270: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/tmpr06sdk7j.c" target datalayout = "e-m:e-p270: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/tmp6_rpf_dt.c' source_filename = "/tmp/tmp6_rpf_dt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @useXlib(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [500 x i32], align 16 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %21, %2 %8 = load i32, ptr %6, align 4 %9 = icmp slt i32 %8, 500 br i1 %9, label %10, label %24 10: ; preds = %7 %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %6, 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 @XInternAtom(ptr noundef %11, ptr noundef %16, i32 noundef 0) %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [500 x i32], ptr %5, i64 0, i64 %19 store i32 %17, ptr %20, align 4 br label %21 21: ; preds = %10 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %6, align 4 br label %7, !llvm.loop !6 24: ; preds = %7 ret void } declare i32 @XInternAtom(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6_rpf_dt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @useXlib(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [500 x i32], align 16 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = icmp slt i32 %7, 500 br i1 %8, label %.lr.ph, label %25 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %20 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %6, 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 @XInternAtom(ptr noundef %10, ptr noundef %15, i32 noundef 0) %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [500 x i32], ptr %5, i64 0, i64 %18 store i32 %16, ptr %19, align 4 br label %20 20: ; preds = %9 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = icmp slt i32 %23, 500 br i1 %24, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %25 25: ; preds = %._crit_edge, %2 ret void } declare i32 @XInternAtom(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbw0od8ff.c' source_filename = "/tmp/tmpbw0od8ff.c" target datalayout = "e-m:e-p270: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/tmpbw0od8ff.c" target datalayout = "e-m:e-p270: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/tmpkeqmypw2.c' source_filename = "/tmp/tmpkeqmypw2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 0, ptr %8, align 8 br label %9 9: ; preds = %48, %3 %10 = load i64, ptr %8, align 8 %11 = load i64, ptr %7, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %13, label %51 13: ; preds = %9 %14 = load ptr, ptr %5, align 8 %15 = load i64, ptr %8, align 8 %16 = getelementptr inbounds i8, ptr %14, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = load ptr, ptr %6, 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 = icmp ne i32 %18, %23 br i1 %24, label %25, label %39 25: ; preds = %13 %26 = load ptr, ptr %5, align 8 %27 = load i64, ptr %8, align 8 %28 = getelementptr inbounds i8, ptr %26, i64 %27 %29 = load i8, ptr %28, align 1 %30 = zext i8 %29 to i32 %31 = load ptr, ptr %6, align 8 %32 = load i64, ptr %8, align 8 %33 = getelementptr inbounds i8, ptr %31, i64 %32 %34 = load i8, ptr %33, align 1 %35 = zext i8 %34 to i32 %36 = icmp slt i32 %30, %35 %37 = zext i1 %36 to i64 %38 = select i1 %36, i32 -1, i32 1 store i32 %38, ptr %4, align 4 br label %52 39: ; preds = %13 %40 = load ptr, ptr %5, align 8 %41 = load i64, ptr %8, 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 eq i32 %44, 0 br i1 %45, label %46, label %47 46: ; preds = %39 store i32 0, ptr %4, align 4 br label %52 47: ; preds = %39 br label %48 48: ; preds = %47 %49 = load i64, ptr %8, align 8 %50 = add i64 %49, 1 store i64 %50, ptr %8, align 8 br label %9, !llvm.loop !6 51: ; preds = %9 store i32 0, ptr %4, align 4 br label %52 52: ; preds = %51, %46, %25 %53 = load i32, ptr %4, align 4 ret i32 %53 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpkeqmypw2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 0, ptr %8, align 8 %9 = load i64, ptr %8, align 8 %10 = load i64, ptr %7, align 8 %11 = icmp ult i64 %9, %10 br i1 %11, label %.lr.ph, label %53 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %47 %13 = load ptr, ptr %5, align 8 %14 = load i64, ptr %8, align 8 %15 = getelementptr inbounds i8, ptr %13, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = load ptr, ptr %6, align 8 %19 = load i64, ptr %8, align 8 %20 = getelementptr inbounds i8, ptr %18, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %17, %22 br i1 %23, label %24, label %38 24: ; preds = %12 %25 = load ptr, ptr %5, align 8 %26 = load i64, ptr %8, align 8 %27 = getelementptr inbounds i8, ptr %25, i64 %26 %28 = load i8, ptr %27, align 1 %29 = zext i8 %28 to i32 %30 = load ptr, ptr %6, align 8 %31 = load i64, ptr %8, align 8 %32 = getelementptr inbounds i8, ptr %30, i64 %31 %33 = load i8, ptr %32, align 1 %34 = zext i8 %33 to i32 %35 = icmp slt i32 %29, %34 %36 = zext i1 %35 to i64 %37 = select i1 %35, i32 -1, i32 1 store i32 %37, ptr %4, align 4 br label %54 38: ; preds = %12 %39 = load ptr, ptr %5, align 8 %40 = load i64, ptr %8, align 8 %41 = getelementptr inbounds i8, ptr %39, i64 %40 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp eq i32 %43, 0 br i1 %44, label %45, label %46 45: ; preds = %38 store i32 0, ptr %4, align 4 br label %54 46: ; preds = %38 br label %47 47: ; preds = %46 %48 = load i64, ptr %8, align 8 %49 = add i64 %48, 1 store i64 %49, ptr %8, align 8 %50 = load i64, ptr %8, align 8 %51 = load i64, ptr %7, align 8 %52 = icmp ult i64 %50, %51 br i1 %52, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %47 br label %53 53: ; preds = %._crit_edge, %3 store i32 0, ptr %4, align 4 br label %54 54: ; preds = %53, %45, %24 %55 = load i32, ptr %4, align 4 ret i32 %55 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp09hdc27v.c' source_filename = "/tmp/tmp09hdc27v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ERR_TXT_STRING = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp09hdc27v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ERR_TXT_STRING = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_y64cj3v.c' source_filename = "/tmp/tmp_y64cj3v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CCEPH_FULL_CHECK\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"NOT FULL CHECK, test %s will be ignored.\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"FULL CHECK, test %s will run.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_full_check(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = call ptr @getenv(ptr noundef @.str) store ptr %5, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %12, label %8 8: ; preds = %1 %9 = load ptr, ptr %4, align 8 %10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %8, %1 %13 = load ptr, ptr %3, align 8 %14 = call i32 @printf(ptr noundef @.str.2, ptr noundef %13) store i32 0, ptr %2, align 4 br label %18 15: ; preds = %8 %16 = load ptr, ptr %3, align 8 %17 = call i32 @printf(ptr noundef @.str.3, ptr noundef %16) store i32 1, ptr %2, align 4 br label %18 18: ; preds = %15, %12 %19 = load i32, ptr %2, align 4 ret i32 %19 } declare ptr @getenv(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_y64cj3v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CCEPH_FULL_CHECK\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"NOT FULL CHECK, test %s will be ignored.\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"FULL CHECK, test %s will run.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_full_check(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = call ptr @getenv(ptr noundef @.str) store ptr %5, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %12, label %8 8: ; preds = %1 %9 = load ptr, ptr %4, align 8 %10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %8, %1 %13 = load ptr, ptr %3, align 8 %14 = call i32 @printf(ptr noundef @.str.2, ptr noundef %13) store i32 0, ptr %2, align 4 br label %18 15: ; preds = %8 %16 = load ptr, ptr %3, align 8 %17 = call i32 @printf(ptr noundef @.str.3, ptr noundef %16) store i32 1, ptr %2, align 4 br label %18 18: ; preds = %15, %12 %19 = load i32, ptr %2, align 4 ret i32 %19 } declare ptr @getenv(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeb21k158.c' source_filename = "/tmp/tmpeb21k158.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"\0Adid they win: %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = call i64 @calloc(i32 noundef 9, i32 noundef 4) %6 = inttoptr i64 %5 to ptr store ptr %6, ptr %1, align 8 %7 = call i64 @calloc(i32 noundef 9, i32 noundef 4) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %2, align 8 %9 = call i64 @calloc(i32 noundef 9, i32 noundef 4) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %3, align 8 %11 = call i64 @calloc(i32 noundef 9, i32 noundef 4) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %1, align 8 %14 = getelementptr inbounds i32, ptr %13, i64 0 store i32 1, ptr %14, align 4 %15 = load ptr, ptr %1, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 1 store i32 1, ptr %16, align 4 %17 = load ptr, ptr %1, align 8 %18 = getelementptr inbounds i32, ptr %17, i64 2 store i32 1, ptr %18, align 4 %19 = load ptr, ptr %2, align 8 %20 = getelementptr inbounds i32, ptr %19, i64 0 store i32 1, ptr %20, align 4 %21 = load ptr, ptr %2, align 8 %22 = getelementptr inbounds i32, ptr %21, i64 3 store i32 1, ptr %22, align 4 %23 = load ptr, ptr %2, align 8 %24 = getelementptr inbounds i32, ptr %23, i64 6 store i32 1, ptr %24, align 4 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds i32, ptr %25, i64 2 store i32 1, ptr %26, align 4 %27 = load ptr, ptr %3, align 8 %28 = getelementptr inbounds i32, ptr %27, i64 4 store i32 1, ptr %28, align 4 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds i32, ptr %29, i64 6 store i32 1, ptr %30, align 4 %31 = load ptr, ptr %1, align 8 %32 = call i32 @hasWon(ptr noundef %31) %33 = call i32 @printf(ptr noundef @.str, i32 noundef %32) %34 = load ptr, ptr %2, align 8 %35 = call i32 @hasWon(ptr noundef %34) %36 = call i32 @printf(ptr noundef @.str, i32 noundef %35) %37 = load ptr, ptr %3, align 8 %38 = call i32 @hasWon(ptr noundef %37) %39 = call i32 @printf(ptr noundef @.str, i32 noundef %38) %40 = load ptr, ptr %4, align 8 %41 = call i32 @hasWon(ptr noundef %40) %42 = call i32 @printf(ptr noundef @.str, i32 noundef %41) ret i32 0 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @hasWon(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeb21k158.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"\0Adid they win: %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = call i64 @calloc(i32 noundef 9, i32 noundef 4) %6 = inttoptr i64 %5 to ptr store ptr %6, ptr %1, align 8 %7 = call i64 @calloc(i32 noundef 9, i32 noundef 4) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %2, align 8 %9 = call i64 @calloc(i32 noundef 9, i32 noundef 4) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %3, align 8 %11 = call i64 @calloc(i32 noundef 9, i32 noundef 4) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %1, align 8 %14 = getelementptr inbounds i32, ptr %13, i64 0 store i32 1, ptr %14, align 4 %15 = load ptr, ptr %1, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 1 store i32 1, ptr %16, align 4 %17 = load ptr, ptr %1, align 8 %18 = getelementptr inbounds i32, ptr %17, i64 2 store i32 1, ptr %18, align 4 %19 = load ptr, ptr %2, align 8 %20 = getelementptr inbounds i32, ptr %19, i64 0 store i32 1, ptr %20, align 4 %21 = load ptr, ptr %2, align 8 %22 = getelementptr inbounds i32, ptr %21, i64 3 store i32 1, ptr %22, align 4 %23 = load ptr, ptr %2, align 8 %24 = getelementptr inbounds i32, ptr %23, i64 6 store i32 1, ptr %24, align 4 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds i32, ptr %25, i64 2 store i32 1, ptr %26, align 4 %27 = load ptr, ptr %3, align 8 %28 = getelementptr inbounds i32, ptr %27, i64 4 store i32 1, ptr %28, align 4 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds i32, ptr %29, i64 6 store i32 1, ptr %30, align 4 %31 = load ptr, ptr %1, align 8 %32 = call i32 @hasWon(ptr noundef %31) %33 = call i32 @printf(ptr noundef @.str, i32 noundef %32) %34 = load ptr, ptr %2, align 8 %35 = call i32 @hasWon(ptr noundef %34) %36 = call i32 @printf(ptr noundef @.str, i32 noundef %35) %37 = load ptr, ptr %3, align 8 %38 = call i32 @hasWon(ptr noundef %37) %39 = call i32 @printf(ptr noundef @.str, i32 noundef %38) %40 = load ptr, ptr %4, align 8 %41 = call i32 @hasWon(ptr noundef %40) %42 = call i32 @printf(ptr noundef @.str, i32 noundef %41) ret i32 0 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @hasWon(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpobwdm18d.c' source_filename = "/tmp/tmpobwdm18d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [1000 x i8], align 16 store i32 0, ptr %1, align 4 br label %4 4: ; preds = %8, %0 %5 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %6 = call i32 @mgetline(ptr noundef %5, i32 noundef 1000) store i32 %6, ptr %2, align 4 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %4 %9 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %10 = call i32 @reverse(ptr noundef %9) %11 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %12 = call i32 @printf(ptr noundef @.str, ptr noundef %11) br label %4, !llvm.loop !6 13: ; preds = %4 ret i32 0 } declare i32 @mgetline(ptr noundef, i32 noundef) #1 declare i32 @reverse(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpobwdm18d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [1000 x i8], align 16 store i32 0, ptr %1, align 4 %4 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %5 = call i32 @mgetline(ptr noundef %4, i32 noundef 1000) store i32 %5, ptr %2, align 4 %6 = icmp sgt i32 %5, 0 br i1 %6, label %.lr.ph, label %14 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %7 %8 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @reverse(ptr noundef %8) %10 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %11 = call i32 @printf(ptr noundef @.str, ptr noundef %10) %12 = call i32 @mgetline(ptr noundef %4, i32 noundef 1000) store i32 %12, ptr %2, align 4 %13 = icmp sgt i32 %12, 0 br i1 %13, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %14 14: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @mgetline(ptr noundef, i32 noundef) #1 declare i32 @reverse(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpj_3p2tef.c' source_filename = "/tmp/tmpj_3p2tef.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @u8_unescape(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca [4 x i8], align 1 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i64 0, ptr %7, align 8 store i64 0, ptr %9, align 8 br label %11 11: ; preds = %49, %3 %12 = load ptr, ptr %6, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %11 %17 = load i64, ptr %7, align 8 %18 = load i64, ptr %5, align 8 %19 = icmp ult i64 %17, %18 br label %20 20: ; preds = %16, %11 %21 = phi i1 [ false, %11 ], [ %19, %16 ] br i1 %21, label %22, label %59 22: ; preds = %20 %23 = load ptr, ptr %6, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 92 br i1 %26, label %27, label %32 27: ; preds = %22 %28 = load ptr, ptr %6, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %6, align 8 %30 = load ptr, ptr %6, align 8 %31 = call i64 @u8_read_escape_sequence(ptr noundef %30, i32 noundef 1000, ptr noundef %9) store i64 %31, ptr %8, align 8 br label %36 32: ; preds = %22 %33 = load ptr, ptr %6, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i64 store i64 %35, ptr %9, align 8 store i64 1, ptr %8, align 8 br label %36 36: ; preds = %32, %27 %37 = load i64, ptr %8, align 8 %38 = load ptr, ptr %6, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 %37 store ptr %39, ptr %6, align 8 %40 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0 %41 = load i64, ptr %9, align 8 %42 = call i64 @u8_wc_toutf8(ptr noundef %40, i64 noundef %41) store i64 %42, ptr %8, align 8 %43 = load i64, ptr %8, align 8 %44 = load i64, ptr %5, align 8 %45 = load i64, ptr %7, align 8 %46 = sub i64 %44, %45 %47 = icmp ugt i64 %43, %46 br i1 %47, label %48, label %49 48: ; preds = %36 br label %59 49: ; preds = %36 %50 = load ptr, ptr %4, align 8 %51 = load i64, ptr %7, align 8 %52 = getelementptr inbounds i8, ptr %50, i64 %51 %53 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0 %54 = load i64, ptr %8, align 8 %55 = call i32 @memcpy(ptr noundef %52, ptr noundef %53, i64 noundef %54) %56 = load i64, ptr %8, align 8 %57 = load i64, ptr %7, align 8 %58 = add i64 %57, %56 store i64 %58, ptr %7, align 8 br label %11, !llvm.loop !6 59: ; preds = %48, %20 %60 = load i64, ptr %7, align 8 %61 = load i64, ptr %5, align 8 %62 = icmp ult i64 %60, %61 br i1 %62, label %63, label %67 63: ; preds = %59 %64 = load ptr, ptr %4, align 8 %65 = load i64, ptr %7, align 8 %66 = getelementptr inbounds i8, ptr %64, i64 %65 store i8 0, ptr %66, align 1 br label %67 67: ; preds = %63, %59 %68 = load i64, ptr %7, align 8 ret i64 %68 } declare i64 @u8_read_escape_sequence(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @u8_wc_toutf8(ptr noundef, i64 noundef) #1 declare i32 @memcpy(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj_3p2tef.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @u8_unescape(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca [4 x i8], align 1 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i64 0, ptr %7, align 8 store i64 0, ptr %9, align 8 br label %11 11: ; preds = %49, %3 %12 = load ptr, ptr %6, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %11 %17 = load i64, ptr %7, align 8 %18 = load i64, ptr %5, align 8 %19 = icmp ult i64 %17, %18 br label %20 20: ; preds = %16, %11 %21 = phi i1 [ false, %11 ], [ %19, %16 ] br i1 %21, label %22, label %.loopexit 22: ; preds = %20 %23 = load ptr, ptr %6, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 92 br i1 %26, label %27, label %32 27: ; preds = %22 %28 = load ptr, ptr %6, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %6, align 8 %30 = load ptr, ptr %6, align 8 %31 = call i64 @u8_read_escape_sequence(ptr noundef %30, i32 noundef 1000, ptr noundef %9) store i64 %31, ptr %8, align 8 br label %36 32: ; preds = %22 %33 = load ptr, ptr %6, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i64 store i64 %35, ptr %9, align 8 store i64 1, ptr %8, align 8 br label %36 36: ; preds = %32, %27 %37 = load i64, ptr %8, align 8 %38 = load ptr, ptr %6, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 %37 store ptr %39, ptr %6, align 8 %40 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0 %41 = load i64, ptr %9, align 8 %42 = call i64 @u8_wc_toutf8(ptr noundef %40, i64 noundef %41) store i64 %42, ptr %8, align 8 %43 = load i64, ptr %8, align 8 %44 = load i64, ptr %5, align 8 %45 = load i64, ptr %7, align 8 %46 = sub i64 %44, %45 %47 = icmp ugt i64 %43, %46 br i1 %47, label %48, label %49 48: ; preds = %36 br label %59 49: ; preds = %36 %50 = load ptr, ptr %4, align 8 %51 = load i64, ptr %7, align 8 %52 = getelementptr inbounds i8, ptr %50, i64 %51 %53 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0 %54 = load i64, ptr %8, align 8 %55 = call i32 @memcpy(ptr noundef %52, ptr noundef %53, i64 noundef %54) %56 = load i64, ptr %8, align 8 %57 = load i64, ptr %7, align 8 %58 = add i64 %57, %56 store i64 %58, ptr %7, align 8 br label %11, !llvm.loop !6 .loopexit: ; preds = %20 br label %59 59: ; preds = %.loopexit, %48 %60 = load i64, ptr %7, align 8 %61 = load i64, ptr %5, align 8 %62 = icmp ult i64 %60, %61 br i1 %62, label %63, label %67 63: ; preds = %59 %64 = load ptr, ptr %4, align 8 %65 = load i64, ptr %7, align 8 %66 = getelementptr inbounds i8, ptr %64, i64 %65 store i8 0, ptr %66, align 1 br label %67 67: ; preds = %63, %59 %68 = load i64, ptr %7, align 8 ret i64 %68 } declare i64 @u8_read_escape_sequence(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @u8_wc_toutf8(ptr noundef, i64 noundef) #1 declare i32 @memcpy(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmphqiaem0z.c' source_filename = "/tmp/tmphqiaem0z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_EMREXCLUDECLIPRECT_swap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @core4_swap(ptr noundef %5, i32 noundef %6) ret void } declare i32 @core4_swap(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/tmphqiaem0z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_EMREXCLUDECLIPRECT_swap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @core4_swap(ptr noundef %5, i32 noundef %6) ret void } declare i32 @core4_swap(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/tmp01die5at.c' source_filename = "/tmp/tmp01die5at.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CE_Lock\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @CE_Lock() #0 { %1 = call i32 @do_syscall(ptr noundef @.str) ret void } declare i32 @do_syscall(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp01die5at.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CE_Lock\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @CE_Lock() #0 { %1 = call i32 @do_syscall(ptr noundef @.str) ret void } declare i32 @do_syscall(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb8_804gt.c' source_filename = "/tmp/tmpb8_804gt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @I2STxConfigSet(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = icmp eq i64 %5, 1074085888 %7 = zext i1 %6 to i32 %8 = call i32 @DEBUG_ASSERT(i32 noundef %7) %9 = load i64, ptr %4, align 8 %10 = and i64 %9, 1069613040 %11 = load i64, ptr %4, align 8 %12 = icmp eq i64 %10, %11 %13 = zext i1 %12 to i32 %14 = call i32 @DEBUG_ASSERT(i32 noundef %13) %15 = load i64, ptr %4, align 8 %16 = and i64 %15, 50331648 %17 = icmp eq i64 %16, 50331648 br i1 %17, label %18, label %24 18: ; preds = %2 %19 = load i64, ptr %4, align 8 %20 = and i64 %19, -33554433 store i64 %20, ptr %4, align 8 %21 = load i64, ptr %3, align 8 %22 = add i64 %21, 4 %23 = inttoptr i64 %22 to ptr store volatile i64 2, ptr %23, align 8 br label %28 24: ; preds = %2 %25 = load i64, ptr %3, align 8 %26 = add i64 %25, 4 %27 = inttoptr i64 %26 to ptr store volatile i64 0, ptr %27, align 8 br label %28 28: ; preds = %24, %18 %29 = load i64, ptr %4, align 8 %30 = load i64, ptr %3, align 8 %31 = add i64 %30, 8 %32 = inttoptr i64 %31 to ptr store volatile i64 %29, ptr %32, align 8 ret void } declare i32 @DEBUG_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/tmpb8_804gt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @I2STxConfigSet(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = icmp eq i64 %5, 1074085888 %7 = zext i1 %6 to i32 %8 = call i32 @DEBUG_ASSERT(i32 noundef %7) %9 = load i64, ptr %4, align 8 %10 = and i64 %9, 1069613040 %11 = load i64, ptr %4, align 8 %12 = icmp eq i64 %10, %11 %13 = zext i1 %12 to i32 %14 = call i32 @DEBUG_ASSERT(i32 noundef %13) %15 = load i64, ptr %4, align 8 %16 = and i64 %15, 50331648 %17 = icmp eq i64 %16, 50331648 br i1 %17, label %18, label %24 18: ; preds = %2 %19 = load i64, ptr %4, align 8 %20 = and i64 %19, -33554433 store i64 %20, ptr %4, align 8 %21 = load i64, ptr %3, align 8 %22 = add i64 %21, 4 %23 = inttoptr i64 %22 to ptr store volatile i64 2, ptr %23, align 8 br label %28 24: ; preds = %2 %25 = load i64, ptr %3, align 8 %26 = add i64 %25, 4 %27 = inttoptr i64 %26 to ptr store volatile i64 0, ptr %27, align 8 br label %28 28: ; preds = %24, %18 %29 = load i64, ptr %4, align 8 %30 = load i64, ptr %3, align 8 %31 = add i64 %30, 8 %32 = inttoptr i64 %31 to ptr store volatile i64 %29, ptr %32, align 8 ret void } declare i32 @DEBUG_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/tmp9xkmvzft.c' source_filename = "/tmp/tmp9xkmvzft.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @image_output(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 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %10, align 8 store i32 0, ptr %6, align 4 br label %12 12: ; preds = %44, %2 %13 = load i32, ptr %6, align 4 %14 = icmp ult i32 %13, 480 br i1 %14, label %15, label %47 15: ; preds = %12 store i32 0, ptr %5, align 4 br label %16 16: ; preds = %40, %15 %17 = load i32, ptr %5, align 4 %18 = icmp ult i32 %17, 640 br i1 %18, label %19, label %43 19: ; preds = %16 %20 = load ptr, ptr %10, align 8 %21 = load i32, ptr %20, align 4 store i32 %21, ptr %7, align 4 %22 = load i32, ptr %7, align 4 %23 = and i32 %22, 65535 store i32 %23, ptr %9, align 4 %24 = load i32, ptr %7, align 4 %25 = lshr i32 %24, 16 %26 = and i32 %25, 65535 store i32 %26, ptr %8, align 4 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %8, align 4 %31 = call i32 @display_put(ptr noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %30) %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %5, align 4 %34 = add i32 %33, 1 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %9, align 4 %37 = call i32 @display_put(ptr noundef %32, i32 noundef %34, i32 noundef %35, i32 noundef %36) %38 = load ptr, ptr %10, align 8 %39 = getelementptr inbounds i32, ptr %38, i32 1 store ptr %39, ptr %10, align 8 br label %40 40: ; preds = %19 %41 = load i32, ptr %5, align 4 %42 = add i32 %41, 2 store i32 %42, ptr %5, align 4 br label %16, !llvm.loop !6 43: ; preds = %16 br label %44 44: ; preds = %43 %45 = load i32, ptr %6, align 4 %46 = add i32 %45, 1 store i32 %46, ptr %6, align 4 br label %12, !llvm.loop !8 47: ; preds = %12 ret void } declare i32 @display_put(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9xkmvzft.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @image_output(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 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %10, align 8 store i32 0, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp ult i32 %12, 480 br i1 %13, label %.lr.ph2, label %49 .lr.ph2: ; preds = %2 br label %14 14: ; preds = %.lr.ph2, %44 store i32 0, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp ult i32 %15, 640 br i1 %16, label %.lr.ph, label %43 .lr.ph: ; preds = %14 br label %17 17: ; preds = %.lr.ph, %38 %18 = load ptr, ptr %10, align 8 %19 = load i32, ptr %18, align 4 store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = and i32 %20, 65535 store i32 %21, ptr %9, align 4 %22 = load i32, ptr %7, align 4 %23 = lshr i32 %22, 16 %24 = and i32 %23, 65535 store i32 %24, ptr %8, align 4 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %8, align 4 %29 = call i32 @display_put(ptr noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28) %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %5, align 4 %32 = add i32 %31, 1 %33 = load i32, ptr %6, align 4 %34 = load i32, ptr %9, align 4 %35 = call i32 @display_put(ptr noundef %30, i32 noundef %32, i32 noundef %33, i32 noundef %34) %36 = load ptr, ptr %10, align 8 %37 = getelementptr inbounds i32, ptr %36, i32 1 store ptr %37, ptr %10, align 8 br label %38 38: ; preds = %17 %39 = load i32, ptr %5, align 4 %40 = add i32 %39, 2 store i32 %40, ptr %5, align 4 %41 = load i32, ptr %5, align 4 %42 = icmp ult i32 %41, 640 br i1 %42, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %43 43: ; preds = %._crit_edge, %14 br label %44 44: ; preds = %43 %45 = load i32, ptr %6, align 4 %46 = add i32 %45, 1 store i32 %46, ptr %6, align 4 %47 = load i32, ptr %6, align 4 %48 = icmp ult i32 %47, 480 br i1 %48, label %14, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %44 br label %49 49: ; preds = %._crit_edge3, %2 ret void } declare i32 @display_put(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpzlc27x1k.c' source_filename = "/tmp/tmpzlc27x1k.c" target datalayout = "e-m:e-p270: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/tmpzlc27x1k.c" target datalayout = "e-m:e-p270: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/tmpa32qjxpf.c' source_filename = "/tmp/tmpa32qjxpf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @checkDiagonalWin(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i8 0, ptr %9, align 1 store i8 0, ptr %5, align 1 store i8 0, ptr %6, align 1 br label %10 10: ; preds = %92, %1 %11 = load i8, ptr %6, align 1 %12 = sext i8 %11 to i32 %13 = icmp sle i32 %12, 2 br i1 %13, label %14, label %95 14: ; preds = %10 store i8 0, ptr %8, align 1 store i8 0, ptr %7, align 1 br label %15 15: ; preds = %86, %14 %16 = load i8, ptr %6, align 1 %17 = sext i8 %16 to i32 %18 = load i8, ptr %8, align 1 %19 = sext i8 %18 to i32 %20 = add nsw i32 %17, %19 %21 = icmp sle i32 %20, 5 br i1 %21, label %22, label %29 22: ; preds = %15 %23 = load i8, ptr %5, align 1 %24 = sext i8 %23 to i32 %25 = load i8, ptr %7, align 1 %26 = sext i8 %25 to i32 %27 = add nsw i32 %24, %26 %28 = icmp sle i32 %27, 5 br label %29 29: ; preds = %22, %15 %30 = phi i1 [ false, %15 ], [ %28, %22 ] br i1 %30, label %31, label %91 31: ; preds = %29 %32 = load ptr, ptr %2, align 8 %33 = load i8, ptr %6, align 1 %34 = sext i8 %33 to i32 %35 = load i8, ptr %8, align 1 %36 = sext i8 %35 to i32 %37 = add nsw i32 %34, %36 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [6 x i8], ptr %32, i64 %38 %40 = load i8, ptr %5, align 1 %41 = sext i8 %40 to i32 %42 = load i8, ptr %7, align 1 %43 = sext i8 %42 to i32 %44 = add nsw i32 %41, %43 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [6 x i8], ptr %39, i64 0, i64 %45 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = icmp eq i32 %48, 1 br i1 %49, label %50, label %53 50: ; preds = %31 %51 = load i32, ptr %3, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %77 53: ; preds = %31 %54 = load ptr, ptr %2, align 8 %55 = load i8, ptr %6, align 1 %56 = sext i8 %55 to i32 %57 = load i8, ptr %8, align 1 %58 = sext i8 %57 to i32 %59 = add nsw i32 %56, %58 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [6 x i8], ptr %54, i64 %60 %62 = load i8, ptr %5, align 1 %63 = sext i8 %62 to i32 %64 = load i8, ptr %7, align 1 %65 = sext i8 %64 to i32 %66 = add nsw i32 %63, %65 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [6 x i8], ptr %61, i64 0, i64 %67 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = icmp eq i32 %70, 2 br i1 %71, label %72, label %75 72: ; preds = %53 %73 = load i32, ptr %4, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %76 75: ; preds = %53 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %76 76: ; preds = %75, %72 br label %77 77: ; preds = %76, %50 %78 = load i32, ptr %3, align 4 %79 = icmp sge i32 %78, 4 br i1 %79, label %80, label %81 80: ; preds = %77 store i8 1, ptr %9, align 1 br label %354 81: ; preds = %77 %82 = load i32, ptr %4, align 4 %83 = icmp sge i32 %82, 4 br i1 %83, label %84, label %85 84: ; preds = %81 store i8 2, ptr %9, align 1 br label %354 85: ; preds = %81 br label %86 86: ; preds = %85 %87 = load i8, ptr %8, align 1 %88 = add i8 %87, 1 store i8 %88, ptr %8, align 1 %89 = load i8, ptr %7, align 1 %90 = add i8 %89, 1 store i8 %90, ptr %7, align 1 br label %15, !llvm.loop !6 91: ; preds = %29 br label %92 92: ; preds = %91 %93 = load i8, ptr %6, align 1 %94 = add i8 %93, 1 store i8 %94, ptr %6, align 1 br label %10, !llvm.loop !8 95: ; preds = %10 store i8 0, ptr %6, align 1 store i8 1, ptr %5, align 1 br label %96 96: ; preds = %178, %95 %97 = load i8, ptr %5, align 1 %98 = sext i8 %97 to i32 %99 = icmp sle i32 %98, 2 br i1 %99, label %100, label %181 100: ; preds = %96 store i8 0, ptr %8, align 1 store i8 0, ptr %7, align 1 br label %101 101: ; preds = %172, %100 %102 = load i8, ptr %6, align 1 %103 = sext i8 %102 to i32 %104 = load i8, ptr %8, align 1 %105 = sext i8 %104 to i32 %106 = add nsw i32 %103, %105 %107 = icmp sle i32 %106, 5 br i1 %107, label %108, label %115 108: ; preds = %101 %109 = load i8, ptr %5, align 1 %110 = sext i8 %109 to i32 %111 = load i8, ptr %7, align 1 %112 = sext i8 %111 to i32 %113 = add nsw i32 %110, %112 %114 = icmp sle i32 %113, 5 br label %115 115: ; preds = %108, %101 %116 = phi i1 [ false, %101 ], [ %114, %108 ] br i1 %116, label %117, label %177 117: ; preds = %115 %118 = load ptr, ptr %2, align 8 %119 = load i8, ptr %6, align 1 %120 = sext i8 %119 to i32 %121 = load i8, ptr %8, align 1 %122 = sext i8 %121 to i32 %123 = add nsw i32 %120, %122 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds [6 x i8], ptr %118, i64 %124 %126 = load i8, ptr %5, align 1 %127 = sext i8 %126 to i32 %128 = load i8, ptr %7, align 1 %129 = sext i8 %128 to i32 %130 = add nsw i32 %127, %129 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds [6 x i8], ptr %125, i64 0, i64 %131 %133 = load i8, ptr %132, align 1 %134 = sext i8 %133 to i32 %135 = icmp eq i32 %134, 1 br i1 %135, label %136, label %139 136: ; preds = %117 %137 = load i32, ptr %3, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %163 139: ; preds = %117 %140 = load ptr, ptr %2, align 8 %141 = load i8, ptr %6, align 1 %142 = sext i8 %141 to i32 %143 = load i8, ptr %8, align 1 %144 = sext i8 %143 to i32 %145 = add nsw i32 %142, %144 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds [6 x i8], ptr %140, i64 %146 %148 = load i8, ptr %5, align 1 %149 = sext i8 %148 to i32 %150 = load i8, ptr %7, align 1 %151 = sext i8 %150 to i32 %152 = add nsw i32 %149, %151 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds [6 x i8], ptr %147, i64 0, i64 %153 %155 = load i8, ptr %154, align 1 %156 = sext i8 %155 to i32 %157 = icmp eq i32 %156, 2 br i1 %157, label %158, label %161 158: ; preds = %139 %159 = load i32, ptr %4, align 4 %160 = add nsw i32 %159, 1 store i32 %160, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %162 161: ; preds = %139 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %162 162: ; preds = %161, %158 br label %163 163: ; preds = %162, %136 %164 = load i32, ptr %3, align 4 %165 = icmp sge i32 %164, 4 br i1 %165, label %166, label %167 166: ; preds = %163 store i8 1, ptr %9, align 1 br label %354 167: ; preds = %163 %168 = load i32, ptr %4, align 4 %169 = icmp sge i32 %168, 4 br i1 %169, label %170, label %171 170: ; preds = %167 store i8 2, ptr %9, align 1 br label %354 171: ; preds = %167 br label %172 172: ; preds = %171 %173 = load i8, ptr %8, align 1 %174 = add i8 %173, 1 store i8 %174, ptr %8, align 1 %175 = load i8, ptr %7, align 1 %176 = add i8 %175, 1 store i8 %176, ptr %7, align 1 br label %101, !llvm.loop !9 177: ; preds = %115 br label %178 178: ; preds = %177 %179 = load i8, ptr %5, align 1 %180 = add i8 %179, 1 store i8 %180, ptr %5, align 1 br label %96, !llvm.loop !10 181: ; preds = %96 store i8 0, ptr %5, align 1 store i8 5, ptr %6, align 1 br label %182 182: ; preds = %264, %181 %183 = load i8, ptr %6, align 1 %184 = sext i8 %183 to i32 %185 = icmp sge i32 %184, 3 br i1 %185, label %186, label %267 186: ; preds = %182 store i8 0, ptr %8, align 1 store i8 0, ptr %7, align 1 br label %187 187: ; preds = %258, %186 %188 = load i8, ptr %6, align 1 %189 = sext i8 %188 to i32 %190 = load i8, ptr %8, align 1 %191 = sext i8 %190 to i32 %192 = add nsw i32 %189, %191 %193 = icmp sge i32 %192, 0 br i1 %193, label %194, label %201 194: ; preds = %187 %195 = load i8, ptr %5, align 1 %196 = sext i8 %195 to i32 %197 = load i8, ptr %7, align 1 %198 = sext i8 %197 to i32 %199 = add nsw i32 %196, %198 %200 = icmp sle i32 %199, 5 br label %201 201: ; preds = %194, %187 %202 = phi i1 [ false, %187 ], [ %200, %194 ] br i1 %202, label %203, label %263 203: ; preds = %201 %204 = load ptr, ptr %2, align 8 %205 = load i8, ptr %6, align 1 %206 = sext i8 %205 to i32 %207 = load i8, ptr %8, align 1 %208 = sext i8 %207 to i32 %209 = add nsw i32 %206, %208 %210 = sext i32 %209 to i64 %211 = getelementptr inbounds [6 x i8], ptr %204, i64 %210 %212 = load i8, ptr %5, align 1 %213 = sext i8 %212 to i32 %214 = load i8, ptr %7, align 1 %215 = sext i8 %214 to i32 %216 = add nsw i32 %213, %215 %217 = sext i32 %216 to i64 %218 = getelementptr inbounds [6 x i8], ptr %211, i64 0, i64 %217 %219 = load i8, ptr %218, align 1 %220 = sext i8 %219 to i32 %221 = icmp eq i32 %220, 1 br i1 %221, label %222, label %225 222: ; preds = %203 %223 = load i32, ptr %3, align 4 %224 = add nsw i32 %223, 1 store i32 %224, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %249 225: ; preds = %203 %226 = load ptr, ptr %2, align 8 %227 = load i8, ptr %6, align 1 %228 = sext i8 %227 to i32 %229 = load i8, ptr %8, align 1 %230 = sext i8 %229 to i32 %231 = add nsw i32 %228, %230 %232 = sext i32 %231 to i64 %233 = getelementptr inbounds [6 x i8], ptr %226, i64 %232 %234 = load i8, ptr %5, align 1 %235 = sext i8 %234 to i32 %236 = load i8, ptr %7, align 1 %237 = sext i8 %236 to i32 %238 = add nsw i32 %235, %237 %239 = sext i32 %238 to i64 %240 = getelementptr inbounds [6 x i8], ptr %233, i64 0, i64 %239 %241 = load i8, ptr %240, align 1 %242 = sext i8 %241 to i32 %243 = icmp eq i32 %242, 2 br i1 %243, label %244, label %247 244: ; preds = %225 %245 = load i32, ptr %4, align 4 %246 = add nsw i32 %245, 1 store i32 %246, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %248 247: ; preds = %225 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %248 248: ; preds = %247, %244 br label %249 249: ; preds = %248, %222 %250 = load i32, ptr %3, align 4 %251 = icmp sge i32 %250, 4 br i1 %251, label %252, label %253 252: ; preds = %249 store i8 1, ptr %9, align 1 br label %354 253: ; preds = %249 %254 = load i32, ptr %4, align 4 %255 = icmp sge i32 %254, 4 br i1 %255, label %256, label %257 256: ; preds = %253 store i8 2, ptr %9, align 1 br label %354 257: ; preds = %253 br label %258 258: ; preds = %257 %259 = load i8, ptr %8, align 1 %260 = add i8 %259, -1 store i8 %260, ptr %8, align 1 %261 = load i8, ptr %7, align 1 %262 = add i8 %261, 1 store i8 %262, ptr %7, align 1 br label %187, !llvm.loop !11 263: ; preds = %201 br label %264 264: ; preds = %263 %265 = load i8, ptr %6, align 1 %266 = add i8 %265, -1 store i8 %266, ptr %6, align 1 br label %182, !llvm.loop !12 267: ; preds = %182 store i8 5, ptr %6, align 1 store i8 1, ptr %5, align 1 br label %268 268: ; preds = %350, %267 %269 = load i8, ptr %5, align 1 %270 = sext i8 %269 to i32 %271 = icmp sle i32 %270, 2 br i1 %271, label %272, label %353 272: ; preds = %268 store i8 0, ptr %8, align 1 store i8 0, ptr %7, align 1 br label %273 273: ; preds = %344, %272 %274 = load i8, ptr %6, align 1 %275 = sext i8 %274 to i32 %276 = load i8, ptr %8, align 1 %277 = sext i8 %276 to i32 %278 = add nsw i32 %275, %277 %279 = icmp sge i32 %278, 0 br i1 %279, label %280, label %287 280: ; preds = %273 %281 = load i8, ptr %5, align 1 %282 = sext i8 %281 to i32 %283 = load i8, ptr %7, align 1 %284 = sext i8 %283 to i32 %285 = add nsw i32 %282, %284 %286 = icmp sle i32 %285, 5 br label %287 287: ; preds = %280, %273 %288 = phi i1 [ false, %273 ], [ %286, %280 ] br i1 %288, label %289, label %349 289: ; preds = %287 %290 = load ptr, ptr %2, align 8 %291 = load i8, ptr %6, align 1 %292 = sext i8 %291 to i32 %293 = load i8, ptr %8, align 1 %294 = sext i8 %293 to i32 %295 = add nsw i32 %292, %294 %296 = sext i32 %295 to i64 %297 = getelementptr inbounds [6 x i8], ptr %290, i64 %296 %298 = load i8, ptr %5, align 1 %299 = sext i8 %298 to i32 %300 = load i8, ptr %7, align 1 %301 = sext i8 %300 to i32 %302 = add nsw i32 %299, %301 %303 = sext i32 %302 to i64 %304 = getelementptr inbounds [6 x i8], ptr %297, i64 0, i64 %303 %305 = load i8, ptr %304, align 1 %306 = sext i8 %305 to i32 %307 = icmp eq i32 %306, 1 br i1 %307, label %308, label %311 308: ; preds = %289 %309 = load i32, ptr %3, align 4 %310 = add nsw i32 %309, 1 store i32 %310, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %335 311: ; preds = %289 %312 = load ptr, ptr %2, align 8 %313 = load i8, ptr %6, align 1 %314 = sext i8 %313 to i32 %315 = load i8, ptr %8, align 1 %316 = sext i8 %315 to i32 %317 = add nsw i32 %314, %316 %318 = sext i32 %317 to i64 %319 = getelementptr inbounds [6 x i8], ptr %312, i64 %318 %320 = load i8, ptr %5, align 1 %321 = sext i8 %320 to i32 %322 = load i8, ptr %7, align 1 %323 = sext i8 %322 to i32 %324 = add nsw i32 %321, %323 %325 = sext i32 %324 to i64 %326 = getelementptr inbounds [6 x i8], ptr %319, i64 0, i64 %325 %327 = load i8, ptr %326, align 1 %328 = sext i8 %327 to i32 %329 = icmp eq i32 %328, 2 br i1 %329, label %330, label %333 330: ; preds = %311 %331 = load i32, ptr %4, align 4 %332 = add nsw i32 %331, 1 store i32 %332, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %334 333: ; preds = %311 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %334 334: ; preds = %333, %330 br label %335 335: ; preds = %334, %308 %336 = load i32, ptr %3, align 4 %337 = icmp sge i32 %336, 4 br i1 %337, label %338, label %339 338: ; preds = %335 store i8 1, ptr %9, align 1 br label %354 339: ; preds = %335 %340 = load i32, ptr %4, align 4 %341 = icmp sge i32 %340, 4 br i1 %341, label %342, label %343 342: ; preds = %339 store i8 2, ptr %9, align 1 br label %354 343: ; preds = %339 br label %344 344: ; preds = %343 %345 = load i8, ptr %8, align 1 %346 = add i8 %345, -1 store i8 %346, ptr %8, align 1 %347 = load i8, ptr %7, align 1 %348 = add i8 %347, 1 store i8 %348, ptr %7, align 1 br label %273, !llvm.loop !13 349: ; preds = %287 br label %350 350: ; preds = %349 %351 = load i8, ptr %5, align 1 %352 = add i8 %351, 1 store i8 %352, ptr %5, align 1 br label %268, !llvm.loop !14 353: ; preds = %268 br label %354 354: ; preds = %353, %342, %338, %256, %252, %170, %166, %84, %80 %355 = load i8, ptr %9, align 1 ret i8 %355 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa32qjxpf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @checkDiagonalWin(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i8 0, ptr %9, align 1 store i8 0, ptr %5, align 1 store i8 0, ptr %6, align 1 %10 = load i8, ptr %6, align 1 %11 = sext i8 %10 to i32 %12 = icmp sle i32 %11, 2 br i1 %12, label %.lr.ph, label %97 .lr.ph: ; preds = %1 br label %13 13: ; preds = %.lr.ph, %91 store i8 0, ptr %8, align 1 store i8 0, ptr %7, align 1 br label %14 14: ; preds = %85, %13 %15 = load i8, ptr %6, align 1 %16 = sext i8 %15 to i32 %17 = load i8, ptr %8, align 1 %18 = sext i8 %17 to i32 %19 = add nsw i32 %16, %18 %20 = icmp sle i32 %19, 5 br i1 %20, label %21, label %28 21: ; preds = %14 %22 = load i8, ptr %5, align 1 %23 = sext i8 %22 to i32 %24 = load i8, ptr %7, align 1 %25 = sext i8 %24 to i32 %26 = add nsw i32 %23, %25 %27 = icmp sle i32 %26, 5 br label %28 28: ; preds = %21, %14 %29 = phi i1 [ false, %14 ], [ %27, %21 ] br i1 %29, label %30, label %90 30: ; preds = %28 %31 = load ptr, ptr %2, align 8 %32 = load i8, ptr %6, align 1 %33 = sext i8 %32 to i32 %34 = load i8, ptr %8, align 1 %35 = sext i8 %34 to i32 %36 = add nsw i32 %33, %35 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [6 x i8], ptr %31, i64 %37 %39 = load i8, ptr %5, align 1 %40 = sext i8 %39 to i32 %41 = load i8, ptr %7, align 1 %42 = sext i8 %41 to i32 %43 = add nsw i32 %40, %42 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [6 x i8], ptr %38, i64 0, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp eq i32 %47, 1 br i1 %48, label %49, label %52 49: ; preds = %30 %50 = load i32, ptr %3, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %76 52: ; preds = %30 %53 = load ptr, ptr %2, align 8 %54 = load i8, ptr %6, align 1 %55 = sext i8 %54 to i32 %56 = load i8, ptr %8, align 1 %57 = sext i8 %56 to i32 %58 = add nsw i32 %55, %57 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [6 x i8], ptr %53, i64 %59 %61 = load i8, ptr %5, align 1 %62 = sext i8 %61 to i32 %63 = load i8, ptr %7, align 1 %64 = sext i8 %63 to i32 %65 = add nsw i32 %62, %64 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [6 x i8], ptr %60, i64 0, i64 %66 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = icmp eq i32 %69, 2 br i1 %70, label %71, label %74 71: ; preds = %52 %72 = load i32, ptr %4, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %75 74: ; preds = %52 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %75 75: ; preds = %74, %71 br label %76 76: ; preds = %75, %49 %77 = load i32, ptr %3, align 4 %78 = icmp sge i32 %77, 4 br i1 %78, label %79, label %80 79: ; preds = %76 store i8 1, ptr %9, align 1 br label %362 80: ; preds = %76 %81 = load i32, ptr %4, align 4 %82 = icmp sge i32 %81, 4 br i1 %82, label %83, label %84 83: ; preds = %80 store i8 2, ptr %9, align 1 br label %362 84: ; preds = %80 br label %85 85: ; preds = %84 %86 = load i8, ptr %8, align 1 %87 = add i8 %86, 1 store i8 %87, ptr %8, align 1 %88 = load i8, ptr %7, align 1 %89 = add i8 %88, 1 store i8 %89, ptr %7, align 1 br label %14, !llvm.loop !6 90: ; preds = %28 br label %91 91: ; preds = %90 %92 = load i8, ptr %6, align 1 %93 = add i8 %92, 1 store i8 %93, ptr %6, align 1 %94 = load i8, ptr %6, align 1 %95 = sext i8 %94 to i32 %96 = icmp sle i32 %95, 2 br i1 %96, label %13, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %91 br label %97 97: ; preds = %._crit_edge, %1 store i8 0, ptr %6, align 1 store i8 1, ptr %5, align 1 %98 = load i8, ptr %5, align 1 %99 = sext i8 %98 to i32 %100 = icmp sle i32 %99, 2 br i1 %100, label %.lr.ph2, label %185 .lr.ph2: ; preds = %97 br label %101 101: ; preds = %.lr.ph2, %179 store i8 0, ptr %8, align 1 store i8 0, ptr %7, align 1 br label %102 102: ; preds = %173, %101 %103 = load i8, ptr %6, align 1 %104 = sext i8 %103 to i32 %105 = load i8, ptr %8, align 1 %106 = sext i8 %105 to i32 %107 = add nsw i32 %104, %106 %108 = icmp sle i32 %107, 5 br i1 %108, label %109, label %116 109: ; preds = %102 %110 = load i8, ptr %5, align 1 %111 = sext i8 %110 to i32 %112 = load i8, ptr %7, align 1 %113 = sext i8 %112 to i32 %114 = add nsw i32 %111, %113 %115 = icmp sle i32 %114, 5 br label %116 116: ; preds = %109, %102 %117 = phi i1 [ false, %102 ], [ %115, %109 ] br i1 %117, label %118, label %178 118: ; preds = %116 %119 = load ptr, ptr %2, align 8 %120 = load i8, ptr %6, align 1 %121 = sext i8 %120 to i32 %122 = load i8, ptr %8, align 1 %123 = sext i8 %122 to i32 %124 = add nsw i32 %121, %123 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds [6 x i8], ptr %119, i64 %125 %127 = load i8, ptr %5, align 1 %128 = sext i8 %127 to i32 %129 = load i8, ptr %7, align 1 %130 = sext i8 %129 to i32 %131 = add nsw i32 %128, %130 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds [6 x i8], ptr %126, i64 0, i64 %132 %134 = load i8, ptr %133, align 1 %135 = sext i8 %134 to i32 %136 = icmp eq i32 %135, 1 br i1 %136, label %137, label %140 137: ; preds = %118 %138 = load i32, ptr %3, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %164 140: ; preds = %118 %141 = load ptr, ptr %2, align 8 %142 = load i8, ptr %6, align 1 %143 = sext i8 %142 to i32 %144 = load i8, ptr %8, align 1 %145 = sext i8 %144 to i32 %146 = add nsw i32 %143, %145 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds [6 x i8], ptr %141, i64 %147 %149 = load i8, ptr %5, align 1 %150 = sext i8 %149 to i32 %151 = load i8, ptr %7, align 1 %152 = sext i8 %151 to i32 %153 = add nsw i32 %150, %152 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds [6 x i8], ptr %148, i64 0, i64 %154 %156 = load i8, ptr %155, align 1 %157 = sext i8 %156 to i32 %158 = icmp eq i32 %157, 2 br i1 %158, label %159, label %162 159: ; preds = %140 %160 = load i32, ptr %4, align 4 %161 = add nsw i32 %160, 1 store i32 %161, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %163 162: ; preds = %140 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %163 163: ; preds = %162, %159 br label %164 164: ; preds = %163, %137 %165 = load i32, ptr %3, align 4 %166 = icmp sge i32 %165, 4 br i1 %166, label %167, label %168 167: ; preds = %164 store i8 1, ptr %9, align 1 br label %362 168: ; preds = %164 %169 = load i32, ptr %4, align 4 %170 = icmp sge i32 %169, 4 br i1 %170, label %171, label %172 171: ; preds = %168 store i8 2, ptr %9, align 1 br label %362 172: ; preds = %168 br label %173 173: ; preds = %172 %174 = load i8, ptr %8, align 1 %175 = add i8 %174, 1 store i8 %175, ptr %8, align 1 %176 = load i8, ptr %7, align 1 %177 = add i8 %176, 1 store i8 %177, ptr %7, align 1 br label %102, !llvm.loop !9 178: ; preds = %116 br label %179 179: ; preds = %178 %180 = load i8, ptr %5, align 1 %181 = add i8 %180, 1 store i8 %181, ptr %5, align 1 %182 = load i8, ptr %5, align 1 %183 = sext i8 %182 to i32 %184 = icmp sle i32 %183, 2 br i1 %184, label %101, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %179 br label %185 185: ; preds = %._crit_edge3, %97 store i8 0, ptr %5, align 1 store i8 5, ptr %6, align 1 %186 = load i8, ptr %6, align 1 %187 = sext i8 %186 to i32 %188 = icmp sge i32 %187, 3 br i1 %188, label %.lr.ph5, label %273 .lr.ph5: ; preds = %185 br label %189 189: ; preds = %.lr.ph5, %267 store i8 0, ptr %8, align 1 store i8 0, ptr %7, align 1 br label %190 190: ; preds = %261, %189 %191 = load i8, ptr %6, align 1 %192 = sext i8 %191 to i32 %193 = load i8, ptr %8, align 1 %194 = sext i8 %193 to i32 %195 = add nsw i32 %192, %194 %196 = icmp sge i32 %195, 0 br i1 %196, label %197, label %204 197: ; preds = %190 %198 = load i8, ptr %5, align 1 %199 = sext i8 %198 to i32 %200 = load i8, ptr %7, align 1 %201 = sext i8 %200 to i32 %202 = add nsw i32 %199, %201 %203 = icmp sle i32 %202, 5 br label %204 204: ; preds = %197, %190 %205 = phi i1 [ false, %190 ], [ %203, %197 ] br i1 %205, label %206, label %266 206: ; preds = %204 %207 = load ptr, ptr %2, align 8 %208 = load i8, ptr %6, align 1 %209 = sext i8 %208 to i32 %210 = load i8, ptr %8, align 1 %211 = sext i8 %210 to i32 %212 = add nsw i32 %209, %211 %213 = sext i32 %212 to i64 %214 = getelementptr inbounds [6 x i8], ptr %207, i64 %213 %215 = load i8, ptr %5, align 1 %216 = sext i8 %215 to i32 %217 = load i8, ptr %7, align 1 %218 = sext i8 %217 to i32 %219 = add nsw i32 %216, %218 %220 = sext i32 %219 to i64 %221 = getelementptr inbounds [6 x i8], ptr %214, i64 0, i64 %220 %222 = load i8, ptr %221, align 1 %223 = sext i8 %222 to i32 %224 = icmp eq i32 %223, 1 br i1 %224, label %225, label %228 225: ; preds = %206 %226 = load i32, ptr %3, align 4 %227 = add nsw i32 %226, 1 store i32 %227, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %252 228: ; preds = %206 %229 = load ptr, ptr %2, align 8 %230 = load i8, ptr %6, align 1 %231 = sext i8 %230 to i32 %232 = load i8, ptr %8, align 1 %233 = sext i8 %232 to i32 %234 = add nsw i32 %231, %233 %235 = sext i32 %234 to i64 %236 = getelementptr inbounds [6 x i8], ptr %229, i64 %235 %237 = load i8, ptr %5, align 1 %238 = sext i8 %237 to i32 %239 = load i8, ptr %7, align 1 %240 = sext i8 %239 to i32 %241 = add nsw i32 %238, %240 %242 = sext i32 %241 to i64 %243 = getelementptr inbounds [6 x i8], ptr %236, i64 0, i64 %242 %244 = load i8, ptr %243, align 1 %245 = sext i8 %244 to i32 %246 = icmp eq i32 %245, 2 br i1 %246, label %247, label %250 247: ; preds = %228 %248 = load i32, ptr %4, align 4 %249 = add nsw i32 %248, 1 store i32 %249, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %251 250: ; preds = %228 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %251 251: ; preds = %250, %247 br label %252 252: ; preds = %251, %225 %253 = load i32, ptr %3, align 4 %254 = icmp sge i32 %253, 4 br i1 %254, label %255, label %256 255: ; preds = %252 store i8 1, ptr %9, align 1 br label %362 256: ; preds = %252 %257 = load i32, ptr %4, align 4 %258 = icmp sge i32 %257, 4 br i1 %258, label %259, label %260 259: ; preds = %256 store i8 2, ptr %9, align 1 br label %362 260: ; preds = %256 br label %261 261: ; preds = %260 %262 = load i8, ptr %8, align 1 %263 = add i8 %262, -1 store i8 %263, ptr %8, align 1 %264 = load i8, ptr %7, align 1 %265 = add i8 %264, 1 store i8 %265, ptr %7, align 1 br label %190, !llvm.loop !11 266: ; preds = %204 br label %267 267: ; preds = %266 %268 = load i8, ptr %6, align 1 %269 = add i8 %268, -1 store i8 %269, ptr %6, align 1 %270 = load i8, ptr %6, align 1 %271 = sext i8 %270 to i32 %272 = icmp sge i32 %271, 3 br i1 %272, label %189, label %._crit_edge6, !llvm.loop !12 ._crit_edge6: ; preds = %267 br label %273 273: ; preds = %._crit_edge6, %185 store i8 5, ptr %6, align 1 store i8 1, ptr %5, align 1 %274 = load i8, ptr %5, align 1 %275 = sext i8 %274 to i32 %276 = icmp sle i32 %275, 2 br i1 %276, label %.lr.ph8, label %361 .lr.ph8: ; preds = %273 br label %277 277: ; preds = %.lr.ph8, %355 store i8 0, ptr %8, align 1 store i8 0, ptr %7, align 1 br label %278 278: ; preds = %349, %277 %279 = load i8, ptr %6, align 1 %280 = sext i8 %279 to i32 %281 = load i8, ptr %8, align 1 %282 = sext i8 %281 to i32 %283 = add nsw i32 %280, %282 %284 = icmp sge i32 %283, 0 br i1 %284, label %285, label %292 285: ; preds = %278 %286 = load i8, ptr %5, align 1 %287 = sext i8 %286 to i32 %288 = load i8, ptr %7, align 1 %289 = sext i8 %288 to i32 %290 = add nsw i32 %287, %289 %291 = icmp sle i32 %290, 5 br label %292 292: ; preds = %285, %278 %293 = phi i1 [ false, %278 ], [ %291, %285 ] br i1 %293, label %294, label %354 294: ; preds = %292 %295 = load ptr, ptr %2, align 8 %296 = load i8, ptr %6, align 1 %297 = sext i8 %296 to i32 %298 = load i8, ptr %8, align 1 %299 = sext i8 %298 to i32 %300 = add nsw i32 %297, %299 %301 = sext i32 %300 to i64 %302 = getelementptr inbounds [6 x i8], ptr %295, i64 %301 %303 = load i8, ptr %5, align 1 %304 = sext i8 %303 to i32 %305 = load i8, ptr %7, align 1 %306 = sext i8 %305 to i32 %307 = add nsw i32 %304, %306 %308 = sext i32 %307 to i64 %309 = getelementptr inbounds [6 x i8], ptr %302, i64 0, i64 %308 %310 = load i8, ptr %309, align 1 %311 = sext i8 %310 to i32 %312 = icmp eq i32 %311, 1 br i1 %312, label %313, label %316 313: ; preds = %294 %314 = load i32, ptr %3, align 4 %315 = add nsw i32 %314, 1 store i32 %315, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %340 316: ; preds = %294 %317 = load ptr, ptr %2, align 8 %318 = load i8, ptr %6, align 1 %319 = sext i8 %318 to i32 %320 = load i8, ptr %8, align 1 %321 = sext i8 %320 to i32 %322 = add nsw i32 %319, %321 %323 = sext i32 %322 to i64 %324 = getelementptr inbounds [6 x i8], ptr %317, i64 %323 %325 = load i8, ptr %5, align 1 %326 = sext i8 %325 to i32 %327 = load i8, ptr %7, align 1 %328 = sext i8 %327 to i32 %329 = add nsw i32 %326, %328 %330 = sext i32 %329 to i64 %331 = getelementptr inbounds [6 x i8], ptr %324, i64 0, i64 %330 %332 = load i8, ptr %331, align 1 %333 = sext i8 %332 to i32 %334 = icmp eq i32 %333, 2 br i1 %334, label %335, label %338 335: ; preds = %316 %336 = load i32, ptr %4, align 4 %337 = add nsw i32 %336, 1 store i32 %337, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %339 338: ; preds = %316 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %339 339: ; preds = %338, %335 br label %340 340: ; preds = %339, %313 %341 = load i32, ptr %3, align 4 %342 = icmp sge i32 %341, 4 br i1 %342, label %343, label %344 343: ; preds = %340 store i8 1, ptr %9, align 1 br label %362 344: ; preds = %340 %345 = load i32, ptr %4, align 4 %346 = icmp sge i32 %345, 4 br i1 %346, label %347, label %348 347: ; preds = %344 store i8 2, ptr %9, align 1 br label %362 348: ; preds = %344 br label %349 349: ; preds = %348 %350 = load i8, ptr %8, align 1 %351 = add i8 %350, -1 store i8 %351, ptr %8, align 1 %352 = load i8, ptr %7, align 1 %353 = add i8 %352, 1 store i8 %353, ptr %7, align 1 br label %278, !llvm.loop !13 354: ; preds = %292 br label %355 355: ; preds = %354 %356 = load i8, ptr %5, align 1 %357 = add i8 %356, 1 store i8 %357, ptr %5, align 1 %358 = load i8, ptr %5, align 1 %359 = sext i8 %358 to i32 %360 = icmp sle i32 %359, 2 br i1 %360, label %277, label %._crit_edge9, !llvm.loop !14 ._crit_edge9: ; preds = %355 br label %361 361: ; preds = %._crit_edge9, %273 br label %362 362: ; preds = %361, %347, %343, %259, %255, %171, %167, %83, %79 %363 = load i8, ptr %9, align 1 ret i8 %363 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '/tmp/tmpp78ci7d2.c' source_filename = "/tmp/tmpp78ci7d2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 1 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 (...) @usage() br label %10 10: ; preds = %8, %2 %11 = call i32 (...) @dyStringTest() ret i32 0 } declare i32 @usage(...) #1 declare i32 @dyStringTest(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp78ci7d2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 1 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 (...) @usage() br label %10 10: ; preds = %8, %2 %11 = call i32 (...) @dyStringTest() ret i32 0 } declare i32 @usage(...) #1 declare i32 @dyStringTest(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdu55lmoj.c' source_filename = "/tmp/tmpdu55lmoj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SC68strcatdup(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %15, label %12 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = call ptr @SC68strdup(ptr noundef %13) store ptr %14, ptr %3, align 8 br label %68 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %21, label %18 18: ; preds = %15 %19 = load ptr, ptr %4, align 8 %20 = call ptr @SC68strdup(ptr noundef %19) store ptr %20, ptr %3, align 8 br label %68 21: ; preds = %15 %22 = load ptr, ptr %4, align 8 %23 = call i32 @strlen(ptr noundef %22) store i32 %23, ptr %6, align 4 %24 = load ptr, ptr %5, align 8 %25 = call i32 @strlen(ptr noundef %24) store i32 %25, ptr %7, align 4 %26 = load i32, ptr %6, align 4 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %26, %27 %29 = add nsw i32 %28, 1 %30 = call ptr @SC68alloc(i32 noundef %29) store ptr %30, ptr %8, align 8 %31 = load ptr, ptr %8, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %33, label %66 33: ; preds = %21 store i32 0, ptr %9, align 4 br label %34 34: ; preds = %38, %33 %35 = load i32, ptr %6, align 4 %36 = add nsw i32 %35, -1 store i32 %36, ptr %6, align 4 %37 = icmp ne i32 %35, 0 br i1 %37, label %38, label %47 38: ; preds = %34 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds i8, ptr %39, i32 1 store ptr %40, ptr %4, align 8 %41 = load i8, ptr %39, align 1 %42 = load ptr, ptr %8, align 8 %43 = load i32, ptr %9, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %9, align 4 %45 = sext i32 %43 to i64 %46 = getelementptr inbounds i8, ptr %42, i64 %45 store i8 %41, ptr %46, align 1 br label %34, !llvm.loop !6 47: ; preds = %34 br label %48 48: ; preds = %52, %47 %49 = load i32, ptr %7, align 4 %50 = add nsw i32 %49, -1 store i32 %50, ptr %7, align 4 %51 = icmp ne i32 %49, 0 br i1 %51, label %52, label %61 52: ; preds = %48 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds i8, ptr %53, i32 1 store ptr %54, ptr %5, align 8 %55 = load i8, ptr %53, align 1 %56 = load ptr, ptr %8, align 8 %57 = load i32, ptr %9, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %9, align 4 %59 = sext i32 %57 to i64 %60 = getelementptr inbounds i8, ptr %56, i64 %59 store i8 %55, ptr %60, align 1 br label %48, !llvm.loop !8 61: ; preds = %48 %62 = load ptr, ptr %8, align 8 %63 = load i32, ptr %9, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 store i8 0, ptr %65, align 1 br label %66 66: ; preds = %61, %21 %67 = load ptr, ptr %8, align 8 store ptr %67, ptr %3, align 8 br label %68 68: ; preds = %66, %18, %12 %69 = load ptr, ptr %3, align 8 ret ptr %69 } declare ptr @SC68strdup(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @SC68alloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdu55lmoj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SC68strcatdup(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %15, label %12 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = call ptr @SC68strdup(ptr noundef %13) store ptr %14, ptr %3, align 8 br label %72 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %21, label %18 18: ; preds = %15 %19 = load ptr, ptr %4, align 8 %20 = call ptr @SC68strdup(ptr noundef %19) store ptr %20, ptr %3, align 8 br label %72 21: ; preds = %15 %22 = load ptr, ptr %4, align 8 %23 = call i32 @strlen(ptr noundef %22) store i32 %23, ptr %6, align 4 %24 = load ptr, ptr %5, align 8 %25 = call i32 @strlen(ptr noundef %24) store i32 %25, ptr %7, align 4 %26 = load i32, ptr %6, align 4 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %26, %27 %29 = add nsw i32 %28, 1 %30 = call ptr @SC68alloc(i32 noundef %29) store ptr %30, ptr %8, align 8 %31 = load ptr, ptr %8, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %33, label %70 33: ; preds = %21 store i32 0, ptr %9, align 4 %34 = load i32, ptr %6, align 4 %35 = add nsw i32 %34, -1 store i32 %35, ptr %6, align 4 %36 = icmp ne i32 %34, 0 br i1 %36, label %.lr.ph, label %49 .lr.ph: ; preds = %33 br label %37 37: ; preds = %.lr.ph, %37 %38 = load ptr, ptr %4, align 8 %39 = getelementptr inbounds i8, ptr %38, i32 1 store ptr %39, ptr %4, align 8 %40 = load i8, ptr %38, align 1 %41 = load ptr, ptr %8, align 8 %42 = load i32, ptr %9, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %9, align 4 %44 = sext i32 %42 to i64 %45 = getelementptr inbounds i8, ptr %41, i64 %44 store i8 %40, ptr %45, align 1 %46 = load i32, ptr %6, align 4 %47 = add nsw i32 %46, -1 store i32 %47, ptr %6, align 4 %48 = icmp ne i32 %46, 0 br i1 %48, label %37, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %49 49: ; preds = %._crit_edge, %33 %50 = load i32, ptr %7, align 4 %51 = add nsw i32 %50, -1 store i32 %51, ptr %7, align 4 %52 = icmp ne i32 %50, 0 br i1 %52, label %.lr.ph2, label %65 .lr.ph2: ; preds = %49 br label %53 53: ; preds = %.lr.ph2, %53 %54 = load ptr, ptr %5, align 8 %55 = getelementptr inbounds i8, ptr %54, i32 1 store ptr %55, ptr %5, align 8 %56 = load i8, ptr %54, align 1 %57 = load ptr, ptr %8, align 8 %58 = load i32, ptr %9, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %9, align 4 %60 = sext i32 %58 to i64 %61 = getelementptr inbounds i8, ptr %57, i64 %60 store i8 %56, ptr %61, align 1 %62 = load i32, ptr %7, align 4 %63 = add nsw i32 %62, -1 store i32 %63, ptr %7, align 4 %64 = icmp ne i32 %62, 0 br i1 %64, label %53, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %53 br label %65 65: ; preds = %._crit_edge3, %49 %66 = load ptr, ptr %8, align 8 %67 = load i32, ptr %9, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %66, i64 %68 store i8 0, ptr %69, align 1 br label %70 70: ; preds = %65, %21 %71 = load ptr, ptr %8, align 8 store ptr %71, ptr %3, align 8 br label %72 72: ; preds = %70, %18, %12 %73 = load ptr, ptr %3, align 8 ret ptr %73 } declare ptr @SC68strdup(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @SC68alloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpqzvoas5s.c' source_filename = "/tmp/tmpqzvoas5s.c" target datalayout = "e-m:e-p270: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/tmpqzvoas5s.c" target datalayout = "e-m:e-p270: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/tmpa9wotzk0.c' source_filename = "/tmp/tmpa9wotzk0.c" target datalayout = "e-m:e-p270: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/tmpa9wotzk0.c" target datalayout = "e-m:e-p270: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/tmpuncuxl99.c' source_filename = "/tmp/tmpuncuxl99.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @String_Concat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %6, align 4 %11 = load ptr, ptr %5, align 8 %12 = call i32 @strlen(ptr noundef %11) store i32 %12, ptr %7, align 4 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %7, align 4 %16 = add nsw i32 %14, %15 %17 = add nsw i32 %16, 1 %18 = sext i32 %17 to i64 %19 = mul i64 %18, 1 %20 = trunc i64 %19 to i32 %21 = call ptr @realloc(ptr noundef %13, i32 noundef %20) store ptr %21, ptr %8, align 8 %22 = icmp eq ptr null, %21 br i1 %22, label %23, label %24 23: ; preds = %2 store ptr null, ptr %3, align 8 br label %34 24: ; preds = %2 %25 = load ptr, ptr %8, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %7, align 4 %31 = add nsw i32 %30, 1 %32 = call i32 @memcpy(ptr noundef %28, ptr noundef %29, i32 noundef %31) %33 = load ptr, ptr %8, align 8 store ptr %33, ptr %3, align 8 br label %34 34: ; preds = %24, %23 %35 = load ptr, ptr %3, align 8 ret ptr %35 } declare i32 @strlen(ptr noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuncuxl99.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @String_Concat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %6, align 4 %11 = load ptr, ptr %5, align 8 %12 = call i32 @strlen(ptr noundef %11) store i32 %12, ptr %7, align 4 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %7, align 4 %16 = add nsw i32 %14, %15 %17 = add nsw i32 %16, 1 %18 = sext i32 %17 to i64 %19 = mul i64 %18, 1 %20 = trunc i64 %19 to i32 %21 = call ptr @realloc(ptr noundef %13, i32 noundef %20) store ptr %21, ptr %8, align 8 %22 = icmp eq ptr null, %21 br i1 %22, label %23, label %24 23: ; preds = %2 store ptr null, ptr %3, align 8 br label %34 24: ; preds = %2 %25 = load ptr, ptr %8, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %7, align 4 %31 = add nsw i32 %30, 1 %32 = call i32 @memcpy(ptr noundef %28, ptr noundef %29, i32 noundef %31) %33 = load ptr, ptr %8, align 8 store ptr %33, ptr %3, align 8 br label %34 34: ; preds = %24, %23 %35 = load ptr, ptr %3, align 8 ret ptr %35 } declare i32 @strlen(ptr noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpem43z3ds.c' source_filename = "/tmp/tmpem43z3ds.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = call double (...) @tic() store double %6, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %21, %0 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %8, 1000000 br i1 %9, label %10, label %24 10: ; preds = %7 %11 = call double (...) @rand_double() %12 = fmul double %11, 1.000000e+05 store double %12, ptr %2, align 8 %13 = load double, ptr %2, align 8 %14 = call double @stdlib_base_sqrt(double noundef %13) store double %14, ptr %3, align 8 %15 = load double, ptr %3, align 8 %16 = load double, ptr %3, align 8 %17 = fcmp une double %15, %16 br i1 %17, label %18, label %20 18: ; preds = %10 %19 = call i32 @printf(ptr noundef @.str) br label %24 20: ; preds = %10 br label %21 21: ; preds = %20 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 br label %7, !llvm.loop !6 24: ; preds = %18, %7 %25 = call double (...) @tic() %26 = load double, ptr %4, align 8 %27 = fsub double %25, %26 store double %27, ptr %1, align 8 %28 = load double, ptr %3, align 8 %29 = load double, ptr %3, align 8 %30 = fcmp une double %28, %29 br i1 %30, label %31, label %33 31: ; preds = %24 %32 = call i32 @printf(ptr noundef @.str) br label %33 33: ; preds = %31, %24 %34 = load double, ptr %1, align 8 ret double %34 } declare double @tic(...) #1 declare double @rand_double(...) #1 declare double @stdlib_base_sqrt(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpem43z3ds.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = call double (...) @tic() store double %6, ptr %4, align 8 store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 1000000 br i1 %8, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %20 %10 = call double (...) @rand_double() %11 = fmul double %10, 1.000000e+05 store double %11, ptr %2, align 8 %12 = load double, ptr %2, align 8 %13 = call double @stdlib_base_sqrt(double noundef %12) store double %13, ptr %3, align 8 %14 = load double, ptr %3, align 8 %15 = load double, ptr %3, align 8 %16 = fcmp une double %14, %15 br i1 %16, label %17, label %19 17: ; preds = %9 %18 = call i32 @printf(ptr noundef @.str) br label %25 19: ; preds = %9 br label %20 20: ; preds = %19 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 %23, 1000000 br i1 %24, label %9, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %20 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %25 25: ; preds = %.loopexit, %17 %26 = call double (...) @tic() %27 = load double, ptr %4, align 8 %28 = fsub double %26, %27 store double %28, ptr %1, align 8 %29 = load double, ptr %3, align 8 %30 = load double, ptr %3, align 8 %31 = fcmp une double %29, %30 br i1 %31, label %32, label %34 32: ; preds = %25 %33 = call i32 @printf(ptr noundef @.str) br label %34 34: ; preds = %32, %25 %35 = load double, ptr %1, align 8 ret double %35 } declare double @tic(...) #1 declare double @rand_double(...) #1 declare double @stdlib_base_sqrt(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpk3i19g1l.c' source_filename = "/tmp/tmpk3i19g1l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_WRONLY = 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/tmpk3i19g1l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_WRONLY = 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/tmp5xomcqw6.c' source_filename = "/tmp/tmp5xomcqw6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @decode_example(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %8, align 4 %10 = load ptr, ptr %4, align 8 %11 = call i32 @strlen(ptr noundef %10) %12 = load i32, ptr %6, align 4 %13 = add nsw i32 %12, 1 %14 = sdiv i32 %11, %13 store i32 %14, ptr %9, align 4 %15 = load i32, ptr %9, align 4 %16 = sub nsw i32 %15, 1 store i32 %16, ptr %7, align 4 br label %17 17: ; preds = %36, %3 %18 = load i32, ptr %7, align 4 %19 = icmp sgt i32 %18, 0 br i1 %19, label %20, label %39 20: ; preds = %17 %21 = load i32, ptr %8, align 4 %22 = shl i32 %21, 1 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %9, align 4 %26 = mul nsw i32 %24, %25 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %26, %27 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %23, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 49 %34 = zext i1 %33 to i32 %35 = or i32 %22, %34 store i32 %35, ptr %8, align 4 br label %36 36: ; preds = %20 %37 = load i32, ptr %7, align 4 %38 = add nsw i32 %37, -1 store i32 %38, ptr %7, align 4 br label %17, !llvm.loop !6 39: ; preds = %17 %40 = load i32, ptr %8, align 4 ret i32 %40 } 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/tmp5xomcqw6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @decode_example(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %8, align 4 %10 = load ptr, ptr %4, align 8 %11 = call i32 @strlen(ptr noundef %10) %12 = load i32, ptr %6, align 4 %13 = add nsw i32 %12, 1 %14 = sdiv i32 %11, %13 store i32 %14, ptr %9, align 4 %15 = load i32, ptr %9, align 4 %16 = sub nsw i32 %15, 1 store i32 %16, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp sgt i32 %17, 0 br i1 %18, label %.lr.ph, label %40 .lr.ph: ; preds = %3 br label %19 19: ; preds = %.lr.ph, %35 %20 = load i32, ptr %8, align 4 %21 = shl i32 %20, 1 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %9, align 4 %25 = mul nsw i32 %23, %24 %26 = load i32, ptr %7, align 4 %27 = add nsw i32 %25, %26 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %22, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 49 %33 = zext i1 %32 to i32 %34 = or i32 %21, %33 store i32 %34, ptr %8, align 4 br label %35 35: ; preds = %19 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, -1 store i32 %37, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp sgt i32 %38, 0 br i1 %39, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %40 40: ; preds = %._crit_edge, %3 %41 = load i32, ptr %8, align 4 ret i32 %41 } 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/tmp060n3_pj.c' source_filename = "/tmp/tmp060n3_pj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo() #0 { %1 = call double @cos(i32 noundef 0) ret double %1 } declare double @cos(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/tmp060n3_pj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo() #0 { %1 = call double @cos(i32 noundef 0) ret double %1 } declare double @cos(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/tmpqerloc17.c' source_filename = "/tmp/tmpqerloc17.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memrand(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = load ptr, ptr %3, align 8 store ptr %8, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %9 9: ; preds = %17, %2 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %20 13: ; preds = %9 %14 = call i32 (...) @xrand() %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds i32, ptr %15, i32 1 store ptr %16, ptr %5, align 8 store i32 %14, ptr %15, align 4 br label %17 17: ; preds = %13 %18 = load i32, ptr %6, align 4 %19 = add nsw i32 %18, 8 store i32 %19, ptr %6, align 4 br label %9, !llvm.loop !6 20: ; preds = %9 %21 = load ptr, ptr %5, align 8 store ptr %21, ptr %7, align 8 br label %22 22: ; preds = %31, %20 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %34 26: ; preds = %22 %27 = call i32 (...) @xrand() %28 = and i32 %27, 255 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds i32, ptr %29, i32 1 store ptr %30, ptr %7, align 8 store i32 %28, ptr %29, align 4 br label %31 31: ; preds = %26 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %6, align 4 br label %22, !llvm.loop !8 34: ; preds = %22 ret void } declare i32 @xrand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpqerloc17.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memrand(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = load ptr, ptr %3, align 8 store ptr %8, ptr %5, align 8 store i32 0, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %16 %13 = call i32 (...) @xrand() %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds i32, ptr %14, i32 1 store ptr %15, ptr %5, align 8 store i32 %13, ptr %14, align 4 br label %16 16: ; preds = %12 %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %17, 8 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %2 %23 = load ptr, ptr %5, align 8 store ptr %23, ptr %7, align 8 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %.lr.ph2, label %38 .lr.ph2: ; preds = %22 br label %27 27: ; preds = %.lr.ph2, %32 %28 = call i32 (...) @xrand() %29 = and i32 %28, 255 %30 = load ptr, ptr %7, align 8 %31 = getelementptr inbounds i32, ptr %30, i32 1 store ptr %31, ptr %7, align 8 store i32 %29, ptr %30, align 4 br label %32 32: ; preds = %27 %33 = load i32, ptr %6, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %6, align 4 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %4, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %27, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %32 br label %38 38: ; preds = %._crit_edge3, %22 ret void } declare i32 @xrand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp3a1ua7v5.c' source_filename = "/tmp/tmp3a1ua7v5.c" target datalayout = "e-m:e-p270: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/tmp3a1ua7v5.c" target datalayout = "e-m:e-p270: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/tmpip1q0pxd.c' source_filename = "/tmp/tmpip1q0pxd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pmfrand(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %9 = call double (...) @frand() store double %9, ptr %7, align 8 store double 0.000000e+00, ptr %8, align 8 store i32 0, ptr %6, align 4 br label %10 10: ; preds = %28, %2 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %31 14: ; preds = %10 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds double, ptr %15, i64 %17 %19 = load double, ptr %18, align 8 %20 = load double, ptr %8, align 8 %21 = fadd double %20, %19 store double %21, ptr %8, align 8 %22 = load double, ptr %8, align 8 %23 = load double, ptr %7, align 8 %24 = fcmp oge double %22, %23 br i1 %24, label %25, label %27 25: ; preds = %14 %26 = load i32, ptr %6, align 4 store i32 %26, ptr %3, align 4 br label %32 27: ; preds = %14 br label %28 28: ; preds = %27 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 br label %10, !llvm.loop !6 31: ; preds = %10 store i32 0, ptr %3, align 4 br label %32 32: ; preds = %31, %25 %33 = load i32, ptr %3, align 4 ret i32 %33 } declare double @frand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpip1q0pxd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pmfrand(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %9 = call double (...) @frand() store double %9, ptr %7, align 8 store double 0.000000e+00, ptr %8, align 8 store i32 0, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %33 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %27 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %6, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds double, ptr %14, i64 %16 %18 = load double, ptr %17, align 8 %19 = load double, ptr %8, align 8 %20 = fadd double %19, %18 store double %20, ptr %8, align 8 %21 = load double, ptr %8, align 8 %22 = load double, ptr %7, align 8 %23 = fcmp oge double %21, %22 br i1 %23, label %24, label %26 24: ; preds = %13 %25 = load i32, ptr %6, align 4 store i32 %25, ptr %3, align 4 br label %34 26: ; preds = %13 br label %27 27: ; preds = %26 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %6, align 4 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %5, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %2 store i32 0, ptr %3, align 4 br label %34 34: ; preds = %33, %24 %35 = load i32, ptr %3, align 4 ret i32 %35 } declare double @frand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmptzcmilaf.c' source_filename = "/tmp/tmptzcmilaf.c" target datalayout = "e-m:e-p270: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 [13 x i8] c"[Error]: %s\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error_msg(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr @stderr, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6) %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load i32, ptr @EXIT_FAILURE, align 4 %12 = call i32 @exit(i32 noundef %11) #3 unreachable 13: ; preds = %2 ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptzcmilaf.c" target datalayout = "e-m:e-p270: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 [13 x i8] c"[Error]: %s\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error_msg(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr @stderr, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6) %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load i32, ptr @EXIT_FAILURE, align 4 %12 = call i32 @exit(i32 noundef %11) #3 unreachable 13: ; preds = %2 ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvqvrmqyp.c' source_filename = "/tmp/tmpvqvrmqyp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"islower should be 0 for 0xf8\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_islower_0xf8() #0 { %1 = call i64 @islower(i32 noundef 248) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1245, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @islower(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/tmpvqvrmqyp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"islower should be 0 for 0xf8\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_islower_0xf8() #0 { %1 = call i64 @islower(i32 noundef 248) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1245, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @islower(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/tmpd92fhhv_.c' source_filename = "/tmp/tmpd92fhhv_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findTotalDistinctPrimeFactors(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 2, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %24, %1 %6 = load i32, ptr %3, align 4 %7 = call i64 @isPrime(i32 noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %14 9: ; preds = %5 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = sdiv i32 %11, 2 %13 = icmp sle i32 %10, %12 br label %14 14: ; preds = %9, %5 %15 = phi i1 [ false, %5 ], [ %13, %9 ] br i1 %15, label %16, label %27 16: ; preds = %14 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr %3, align 4 %19 = srem i32 %17, %18 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %16 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 br label %24 24: ; preds = %21, %16 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 br label %5, !llvm.loop !6 27: ; preds = %14 %28 = load i32, ptr %4, align 4 ret i32 %28 } declare i64 @isPrime(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/tmpd92fhhv_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findTotalDistinctPrimeFactors(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 2, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %24, %1 %6 = load i32, ptr %3, align 4 %7 = call i64 @isPrime(i32 noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %14 9: ; preds = %5 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = sdiv i32 %11, 2 %13 = icmp sle i32 %10, %12 br label %14 14: ; preds = %9, %5 %15 = phi i1 [ false, %5 ], [ %13, %9 ] br i1 %15, label %16, label %27 16: ; preds = %14 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr %3, align 4 %19 = srem i32 %17, %18 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %16 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 br label %24 24: ; preds = %21, %16 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 br label %5, !llvm.loop !6 27: ; preds = %14 %28 = load i32, ptr %4, align 4 ret i32 %28 } declare i64 @isPrime(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/tmp3b557hfj.c' source_filename = "/tmp/tmp3b557hfj.c" target datalayout = "e-m:e-p270: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/tmp3b557hfj.c" target datalayout = "e-m:e-p270: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/tmpg5miw0eb.c' source_filename = "/tmp/tmpg5miw0eb.c" target datalayout = "e-m:e-p270: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/tmpg5miw0eb.c" target datalayout = "e-m:e-p270: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/tmpgshj3ome.c' source_filename = "/tmp/tmpgshj3ome.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @touchstone_os_threadExit(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @pthread_exit(ptr noundef %3) ret void } declare i32 @pthread_exit(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgshj3ome.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @touchstone_os_threadExit(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @pthread_exit(ptr noundef %3) ret void } declare i32 @pthread_exit(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppyeoxmkt.c' source_filename = "/tmp/tmppyeoxmkt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 1025, ptr %1, align 4 store i32 2, ptr %2, align 4 %3 = load i32, ptr %1, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @converse(i32 noundef %3, i32 noundef %4) %6 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @converse(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppyeoxmkt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 1025, ptr %1, align 4 store i32 2, ptr %2, align 4 %3 = load i32, ptr %1, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @converse(i32 noundef %3, i32 noundef %4) %6 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @converse(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwldrigio.c' source_filename = "/tmp/tmpwldrigio.c" target datalayout = "e-m:e-p270: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/tmpwldrigio.c" target datalayout = "e-m:e-p270: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/tmpbtt_lanb.c' source_filename = "/tmp/tmpbtt_lanb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @plugin_init() #0 { ret i32 1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbtt_lanb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @plugin_init() #0 { ret i32 1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmrxle_p0.c' source_filename = "/tmp/tmpmrxle_p0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TimerDMAEventSet(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = add nsw i64 %6, 108 %8 = inttoptr i64 %7 to ptr store volatile i64 %5, ptr %8, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmrxle_p0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TimerDMAEventSet(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = add nsw i64 %6, 108 %8 = inttoptr i64 %7 to ptr store volatile i64 %5, ptr %8, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa9jxpizy.c' source_filename = "/tmp/tmpa9jxpizy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"update-passwd %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"3.5.3\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @version() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) ret void } 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/tmpa9jxpizy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"update-passwd %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"3.5.3\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @version() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) ret void } 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/tmp5at2mghw.c' source_filename = "/tmp/tmp5at2mghw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hashtable_find(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 %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @__hashtable_hash(ptr noundef %6, ptr noundef %7) %9 = load ptr, ptr %4, align 8 %10 = call ptr @__hashtable_find(ptr noundef %5, i32 noundef %8, ptr noundef %9) ret ptr %10 } declare ptr @__hashtable_find(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @__hashtable_hash(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/tmp5at2mghw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hashtable_find(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 %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @__hashtable_hash(ptr noundef %6, ptr noundef %7) %9 = load ptr, ptr %4, align 8 %10 = call ptr @__hashtable_find(ptr noundef %5, i32 noundef %8, ptr noundef %9) ret ptr %10 } declare ptr @__hashtable_find(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @__hashtable_hash(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/tmpcwctnfdw.c' source_filename = "/tmp/tmpcwctnfdw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ldexp(double noundef %0, i32 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca i32, align 4 store double %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load double, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call double @pow(i32 noundef 2, i32 noundef %6) %8 = fmul double %5, %7 ret double %8 } declare double @pow(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcwctnfdw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ldexp(double noundef %0, i32 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca i32, align 4 store double %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load double, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call double @pow(i32 noundef 2, i32 noundef %6) %8 = fmul double %5, %7 ret double %8 } declare double @pow(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9d4xsogp.c' source_filename = "/tmp/tmp9d4xsogp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vstrbuild(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 0, ptr %10, align 4 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %54 13: ; preds = %2 %14 = load ptr, ptr %4, align 8 %15 = load i8, ptr %14, align 1 %16 = icmp ne i8 %15, 0 br i1 %16, label %22, label %17 17: ; preds = %13 %18 = call ptr @xmalloc(i32 noundef 1) store ptr %18, ptr %6, align 8 %19 = load ptr, ptr %6, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 0 store i8 0, ptr %20, align 1 %21 = load ptr, ptr %6, align 8 store ptr %21, ptr %3, align 8 br label %57 22: ; preds = %13 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %5, align 4 %25 = call i32 @vsnprintf(ptr noundef null, i32 noundef 0, ptr noundef %23, i32 noundef %24) %26 = add nsw i32 %25, 1 store i32 %26, ptr %8, align 4 %27 = load i32, ptr %8, align 4 %28 = call ptr @xmalloc(i32 noundef %27) store ptr %28, ptr %6, align 8 %29 = load ptr, ptr %6, align 8 %30 = load i32, ptr %8, align 4 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %5, align 4 %33 = call i32 @vsnprintf(ptr noundef %29, i32 noundef %30, ptr noundef %31, i32 noundef %32) br label %34 34: ; preds = %41, %22 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr %10, align 4 %37 = load i32, ptr %8, align 4 %38 = call i32 @is_asciiz(ptr noundef %35, i32 noundef %36, i32 noundef %37) store i32 %38, ptr %9, align 4 %39 = icmp ne i32 %38, 0 br i1 %39, label %40, label %41 40: ; preds = %34 br label %53 41: ; preds = %34 %42 = load i32, ptr %8, align 4 store i32 %42, ptr %10, align 4 %43 = load i32, ptr %8, align 4 %44 = add nsw i32 %43, 16 store i32 %44, ptr %8, align 4 %45 = load ptr, ptr %6, align 8 %46 = load i32, ptr %8, align 4 %47 = call ptr @xrealloc(ptr noundef %45, i32 noundef %46) store ptr %47, ptr %6, align 8 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %8, align 4 %50 = load ptr, ptr %4, align 8 %51 = load i32, ptr %5, align 4 %52 = call i32 @vsnprintf(ptr noundef %48, i32 noundef %49, ptr noundef %50, i32 noundef %51) br label %34 53: ; preds = %40 br label %55 54: ; preds = %2 store ptr null, ptr %6, align 8 br label %55 55: ; preds = %54, %53 %56 = load ptr, ptr %6, align 8 store ptr %56, ptr %3, align 8 br label %57 57: ; preds = %55, %17 %58 = load ptr, ptr %3, align 8 ret ptr %58 } declare ptr @xmalloc(i32 noundef) #1 declare i32 @vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @is_asciiz(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @xrealloc(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/tmp9d4xsogp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vstrbuild(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 0, ptr %10, align 4 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %58 13: ; preds = %2 %14 = load ptr, ptr %4, align 8 %15 = load i8, ptr %14, align 1 %16 = icmp ne i8 %15, 0 br i1 %16, label %22, label %17 17: ; preds = %13 %18 = call ptr @xmalloc(i32 noundef 1) store ptr %18, ptr %6, align 8 %19 = load ptr, ptr %6, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 0 store i8 0, ptr %20, align 1 %21 = load ptr, ptr %6, align 8 store ptr %21, ptr %3, align 8 br label %61 22: ; preds = %13 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %5, align 4 %25 = call i32 @vsnprintf(ptr noundef null, i32 noundef 0, ptr noundef %23, i32 noundef %24) %26 = add nsw i32 %25, 1 store i32 %26, ptr %8, align 4 %27 = load i32, ptr %8, align 4 %28 = call ptr @xmalloc(i32 noundef %27) store ptr %28, ptr %6, align 8 %29 = load ptr, ptr %6, align 8 %30 = load i32, ptr %8, align 4 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %5, align 4 %33 = call i32 @vsnprintf(ptr noundef %29, i32 noundef %30, ptr noundef %31, i32 noundef %32) %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr %10, align 4 %36 = load i32, ptr %8, align 4 %37 = call i32 @is_asciiz(ptr noundef %34, i32 noundef %35, i32 noundef %36) store i32 %37, ptr %9, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %.lr.ph .lr.ph: ; preds = %22 br label %40 ._crit_edge: ; preds = %40 br label %39 39: ; preds = %._crit_edge, %22 br label %57 40: ; preds = %.lr.ph, %40 %41 = load i32, ptr %8, align 4 store i32 %41, ptr %10, align 4 %42 = load i32, ptr %8, align 4 %43 = add nsw i32 %42, 16 store i32 %43, ptr %8, align 4 %44 = load ptr, ptr %6, align 8 %45 = load i32, ptr %8, align 4 %46 = call ptr @xrealloc(ptr noundef %44, i32 noundef %45) store ptr %46, ptr %6, align 8 %47 = load ptr, ptr %6, align 8 %48 = load i32, ptr %8, align 4 %49 = load ptr, ptr %4, align 8 %50 = load i32, ptr %5, align 4 %51 = call i32 @vsnprintf(ptr noundef %47, i32 noundef %48, ptr noundef %49, i32 noundef %50) %52 = load ptr, ptr %6, align 8 %53 = load i32, ptr %10, align 4 %54 = load i32, ptr %8, align 4 %55 = call i32 @is_asciiz(ptr noundef %52, i32 noundef %53, i32 noundef %54) store i32 %55, ptr %9, align 4 %56 = icmp ne i32 %55, 0 br i1 %56, label %._crit_edge, label %40 57: ; preds = %39 br label %59 58: ; preds = %2 store ptr null, ptr %6, align 8 br label %59 59: ; preds = %58, %57 %60 = load ptr, ptr %6, align 8 store ptr %60, ptr %3, align 8 br label %61 61: ; preds = %59, %17 %62 = load ptr, ptr %3, align 8 ret ptr %62 } declare ptr @xmalloc(i32 noundef) #1 declare i32 @vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @is_asciiz(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @xrealloc(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/tmp2_sjfxxh.c' source_filename = "/tmp/tmp2_sjfxxh.c" target datalayout = "e-m:e-p270: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/tmp2_sjfxxh.c" target datalayout = "e-m:e-p270: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/tmpsn_fotke.c' source_filename = "/tmp/tmpsn_fotke.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"./output_file\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"Delay has a minimum of 10 seconds\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"Can't open output file! %d(%s)\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [16 x i8] c"Dumping stdin:\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [10 x i8] c"stdin: %s\00", align 1 @.str.6 = private unnamed_addr constant [27 x i8] c"Doing work for %d seconds\0A\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c"i = %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"Done.\0A\00", align 1 @.str.9 = private unnamed_addr constant [30 x i8] c"Failed to close fout? %d(%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 i32, align 4 %7 = alloca i32, align 4 %8 = alloca [1024 x i8], align 16 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 10, ptr %6, align 4 store ptr @.str, ptr %9, align 8 store ptr null, ptr %10, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp eq i32 %11, 2 br i1 %12, label %13, label %18 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 @atoi(ptr noundef %16) store i32 %17, ptr %6, align 4 br label %18 18: ; preds = %13, %2 %19 = load i32, ptr %4, align 4 %20 = icmp eq i32 %19, 3 br i1 %20, label %21, label %29 21: ; preds = %18 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i32 @atoi(ptr noundef %24) store i32 %25, ptr %6, align 4 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 2 %28 = load ptr, ptr %27, align 8 store ptr %28, ptr %9, align 8 br label %29 29: ; preds = %21, %18 %30 = load i32, ptr %6, align 4 %31 = icmp slt i32 %30, 10 br i1 %31, label %32, label %35 32: ; preds = %29 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %34 = call i32 @fflush(ptr noundef null) store i32 10, ptr %6, align 4 br label %35 35: ; preds = %32, %29 %36 = load ptr, ptr %9, align 8 %37 = call ptr @fopen(ptr noundef %36, ptr noundef @.str.2) store ptr %37, ptr %10, align 8 %38 = load ptr, ptr %10, align 8 %39 = icmp eq ptr %38, null br i1 %39, label %40, label %45 40: ; preds = %35 %41 = load i32, ptr @errno, align 4 %42 = load i32, ptr @errno, align 4 %43 = call ptr @strerror(i32 noundef %42) %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %41, ptr noundef %43) br label %45 45: ; preds = %40, %35 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %47 = load ptr, ptr %10, align 8 %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.4) %49 = call i32 @fflush(ptr noundef null) br label %50 50: ; preds = %55, %45 %51 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %52 = load i32, ptr @stdin, align 4 %53 = call ptr @fgets(ptr noundef %51, i32 noundef 1024, i32 noundef %52) %54 = icmp ne ptr %53, null br i1 %54, label %55, label %62 55: ; preds = %50 %56 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %56) %58 = load ptr, ptr %10, align 8 %59 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %58, ptr noundef @.str.5, ptr noundef %59) %61 = call i32 @fflush(ptr noundef null) br label %50, !llvm.loop !6 62: ; preds = %50 %63 = load i32, ptr %6, align 4 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %63) %65 = load ptr, ptr %10, align 8 %66 = load i32, ptr %6, align 4 %67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %65, ptr noundef @.str.6, i32 noundef %66) %68 = call i32 @fflush(ptr noundef null) store i32 0, ptr %7, align 4 br label %69 69: ; preds = %81, %62 %70 = load i32, ptr %7, align 4 %71 = load i32, ptr %6, align 4 %72 = icmp slt i32 %70, %71 br i1 %72, label %73, label %84 73: ; preds = %69 %74 = load i32, ptr %7, align 4 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %74) %76 = load ptr, ptr %10, align 8 %77 = load i32, ptr %7, align 4 %78 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %76, ptr noundef @.str.7, i32 noundef %77) %79 = call i32 @fflush(ptr noundef null) %80 = call i32 @sleep(i32 noundef 1) br label %81 81: ; preds = %73 %82 = load i32, ptr %7, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %7, align 4 br label %69, !llvm.loop !8 84: ; preds = %69 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %86 = load ptr, ptr %10, align 8 %87 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %86, ptr noundef @.str.8) %88 = call i32 @fflush(ptr noundef null) %89 = load ptr, ptr %10, align 8 %90 = call i64 @fclose(ptr noundef %89) %91 = icmp slt i64 %90, 0 br i1 %91, label %92, label %98 92: ; preds = %84 %93 = load i32, ptr @errno, align 4 %94 = load i32, ptr @errno, align 4 %95 = call ptr @strerror(i32 noundef %94) %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %93, ptr noundef %95) %97 = call i32 @fflush(ptr noundef null) br label %98 98: ; preds = %92, %84 ret i32 0 } declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fflush(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i64 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsn_fotke.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"./output_file\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"Delay has a minimum of 10 seconds\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"Can't open output file! %d(%s)\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [16 x i8] c"Dumping stdin:\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [10 x i8] c"stdin: %s\00", align 1 @.str.6 = private unnamed_addr constant [27 x i8] c"Doing work for %d seconds\0A\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c"i = %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"Done.\0A\00", align 1 @.str.9 = private unnamed_addr constant [30 x i8] c"Failed to close fout? %d(%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 i32, align 4 %7 = alloca i32, align 4 %8 = alloca [1024 x i8], align 16 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 10, ptr %6, align 4 store ptr @.str, ptr %9, align 8 store ptr null, ptr %10, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp eq i32 %11, 2 br i1 %12, label %13, label %18 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 @atoi(ptr noundef %16) store i32 %17, ptr %6, align 4 br label %18 18: ; preds = %13, %2 %19 = load i32, ptr %4, align 4 %20 = icmp eq i32 %19, 3 br i1 %20, label %21, label %29 21: ; preds = %18 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i32 @atoi(ptr noundef %24) store i32 %25, ptr %6, align 4 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 2 %28 = load ptr, ptr %27, align 8 store ptr %28, ptr %9, align 8 br label %29 29: ; preds = %21, %18 %30 = load i32, ptr %6, align 4 %31 = icmp slt i32 %30, 10 br i1 %31, label %32, label %35 32: ; preds = %29 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %34 = call i32 @fflush(ptr noundef null) store i32 10, ptr %6, align 4 br label %35 35: ; preds = %32, %29 %36 = load ptr, ptr %9, align 8 %37 = call ptr @fopen(ptr noundef %36, ptr noundef @.str.2) store ptr %37, ptr %10, align 8 %38 = load ptr, ptr %10, align 8 %39 = icmp eq ptr %38, null br i1 %39, label %40, label %45 40: ; preds = %35 %41 = load i32, ptr @errno, align 4 %42 = load i32, ptr @errno, align 4 %43 = call ptr @strerror(i32 noundef %42) %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %41, ptr noundef %43) br label %45 45: ; preds = %40, %35 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %47 = load ptr, ptr %10, align 8 %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.4) %49 = call i32 @fflush(ptr noundef null) %50 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %51 = load i32, ptr @stdin, align 4 %52 = call ptr @fgets(ptr noundef %50, i32 noundef 1024, i32 noundef %51) %53 = icmp ne ptr %52, null br i1 %53, label %.lr.ph, label %64 .lr.ph: ; preds = %45 br label %54 54: ; preds = %.lr.ph, %54 %55 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %55) %57 = load ptr, ptr %10, align 8 %58 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %59 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %57, ptr noundef @.str.5, ptr noundef %58) %60 = call i32 @fflush(ptr noundef null) %61 = load i32, ptr @stdin, align 4 %62 = call ptr @fgets(ptr noundef %50, i32 noundef 1024, i32 noundef %61) %63 = icmp ne ptr %62, null br i1 %63, label %54, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %54 br label %64 64: ; preds = %._crit_edge, %45 %65 = load i32, ptr %6, align 4 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %65) %67 = load ptr, ptr %10, align 8 %68 = load i32, ptr %6, align 4 %69 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %67, ptr noundef @.str.6, i32 noundef %68) %70 = call i32 @fflush(ptr noundef null) store i32 0, ptr %7, align 4 %71 = load i32, ptr %7, align 4 %72 = load i32, ptr %6, align 4 %73 = icmp slt i32 %71, %72 br i1 %73, label %.lr.ph2, label %88 .lr.ph2: ; preds = %64 br label %74 74: ; preds = %.lr.ph2, %82 %75 = load i32, ptr %7, align 4 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %75) %77 = load ptr, ptr %10, align 8 %78 = load i32, ptr %7, align 4 %79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef @.str.7, i32 noundef %78) %80 = call i32 @fflush(ptr noundef null) %81 = call i32 @sleep(i32 noundef 1) br label %82 82: ; preds = %74 %83 = load i32, ptr %7, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %7, align 4 %85 = load i32, ptr %7, align 4 %86 = load i32, ptr %6, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %74, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %82 br label %88 88: ; preds = %._crit_edge3, %64 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %90 = load ptr, ptr %10, align 8 %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef @.str.8) %92 = call i32 @fflush(ptr noundef null) %93 = load ptr, ptr %10, align 8 %94 = call i64 @fclose(ptr noundef %93) %95 = icmp slt i64 %94, 0 br i1 %95, label %96, label %102 96: ; preds = %88 %97 = load i32, ptr @errno, align 4 %98 = load i32, ptr @errno, align 4 %99 = call ptr @strerror(i32 noundef %98) %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %97, ptr noundef %99) %101 = call i32 @fflush(ptr noundef null) br label %102 102: ; preds = %96, %88 ret i32 0 } declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fflush(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i64 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpyisvucf6.c' source_filename = "/tmp/tmpyisvucf6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ifftrecurs(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 store ptr %0, ptr %7, align 8 store i64 %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store i64 %4, ptr %11, align 8 store i64 %5, ptr %12, align 8 %14 = load i64, ptr %8, align 8 %15 = icmp ule i64 %14, 11 br i1 %15, label %16, label %25 16: ; preds = %6 %17 = load ptr, ptr %7, align 8 %18 = load i64, ptr %8, align 8 %19 = load ptr, ptr %9, align 8 %20 = load i64, ptr %10, align 8 %21 = load i64, ptr %11, align 8 %22 = load i64, ptr %12, align 8 %23 = trunc i64 %22 to i32 %24 = call i32 @ibfstages(ptr noundef %17, i64 noundef %18, ptr noundef %19, i64 noundef %20, i64 noundef %21, i32 noundef %23) br label %58 25: ; preds = %6 store i64 0, ptr %13, align 8 br label %26 26: ; preds = %46, %25 %27 = load i64, ptr %13, align 8 %28 = icmp slt i64 %27, 8 br i1 %28, label %29, label %49 29: ; preds = %26 %30 = load ptr, ptr %7, align 8 %31 = load i64, ptr %13, align 8 %32 = load i64, ptr %8, align 8 %33 = sub nsw i64 %32, 3 %34 = shl i64 1, %33 %35 = mul i64 %31, %34 %36 = mul i64 %35, 2 %37 = getelementptr inbounds float, ptr %30, i64 %36 %38 = load i64, ptr %8, align 8 %39 = sub nsw i64 %38, 3 %40 = load ptr, ptr %9, align 8 %41 = load i64, ptr %10, align 8 %42 = mul nsw i64 8, %41 %43 = load i64, ptr %11, align 8 %44 = load i64, ptr %12, align 8 %45 = sub nsw i64 %44, 1 call void @ifftrecurs(ptr noundef %37, i64 noundef %39, ptr noundef %40, i64 noundef %42, i64 noundef %43, i64 noundef %45) br label %46 46: ; preds = %29 %47 = load i64, ptr %13, align 8 %48 = add nsw i64 %47, 1 store i64 %48, ptr %13, align 8 br label %26, !llvm.loop !6 49: ; preds = %26 %50 = load ptr, ptr %7, align 8 %51 = load i64, ptr %8, align 8 %52 = load ptr, ptr %9, align 8 %53 = load i64, ptr %10, align 8 %54 = load i64, ptr %8, align 8 %55 = sub nsw i64 %54, 3 %56 = shl i64 1, %55 %57 = call i32 @ibfstages(ptr noundef %50, i64 noundef %51, ptr noundef %52, i64 noundef %53, i64 noundef %56, i32 noundef 1) br label %58 58: ; preds = %49, %16 ret void } declare i32 @ibfstages(ptr noundef, i64 noundef, ptr noundef, i64 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyisvucf6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ifftrecurs(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 store ptr %0, ptr %7, align 8 store i64 %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store i64 %4, ptr %11, align 8 store i64 %5, ptr %12, align 8 %14 = load i64, ptr %8, align 8 %15 = icmp ule i64 %14, 11 br i1 %15, label %16, label %25 16: ; preds = %6 %17 = load ptr, ptr %7, align 8 %18 = load i64, ptr %8, align 8 %19 = load ptr, ptr %9, align 8 %20 = load i64, ptr %10, align 8 %21 = load i64, ptr %11, align 8 %22 = load i64, ptr %12, align 8 %23 = trunc i64 %22 to i32 %24 = call i32 @ibfstages(ptr noundef %17, i64 noundef %18, ptr noundef %19, i64 noundef %20, i64 noundef %21, i32 noundef %23) br label %59 25: ; preds = %6 store i64 0, ptr %13, align 8 %26 = load i64, ptr %13, align 8 %27 = icmp slt i64 %26, 8 br i1 %27, label %.lr.ph, label %50 .lr.ph: ; preds = %25 br label %28 28: ; preds = %.lr.ph, %45 %29 = load ptr, ptr %7, align 8 %30 = load i64, ptr %13, align 8 %31 = load i64, ptr %8, align 8 %32 = sub nsw i64 %31, 3 %33 = shl i64 1, %32 %34 = mul i64 %30, %33 %35 = mul i64 %34, 2 %36 = getelementptr inbounds float, ptr %29, i64 %35 %37 = load i64, ptr %8, align 8 %38 = sub nsw i64 %37, 3 %39 = load ptr, ptr %9, align 8 %40 = load i64, ptr %10, align 8 %41 = mul nsw i64 8, %40 %42 = load i64, ptr %11, align 8 %43 = load i64, ptr %12, align 8 %44 = sub nsw i64 %43, 1 call void @ifftrecurs(ptr noundef %36, i64 noundef %38, ptr noundef %39, i64 noundef %41, i64 noundef %42, i64 noundef %44) br label %45 45: ; preds = %28 %46 = load i64, ptr %13, align 8 %47 = add nsw i64 %46, 1 store i64 %47, ptr %13, align 8 %48 = load i64, ptr %13, align 8 %49 = icmp slt i64 %48, 8 br i1 %49, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %50 50: ; preds = %._crit_edge, %25 %51 = load ptr, ptr %7, align 8 %52 = load i64, ptr %8, align 8 %53 = load ptr, ptr %9, align 8 %54 = load i64, ptr %10, align 8 %55 = load i64, ptr %8, align 8 %56 = sub nsw i64 %55, 3 %57 = shl i64 1, %56 %58 = call i32 @ibfstages(ptr noundef %51, i64 noundef %52, ptr noundef %53, i64 noundef %54, i64 noundef %57, i32 noundef 1) br label %59 59: ; preds = %50, %16 ret void } declare i32 @ibfstages(ptr noundef, i64 noundef, ptr noundef, i64 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwsqua9mf.c' source_filename = "/tmp/tmpwsqua9mf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 br label %5 5: ; preds = %10, %1 %6 = load ptr, ptr %3, align 8 %7 = load i8, ptr %6, align 1 %8 = icmp ne i8 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %5 br label %10 10: ; preds = %9 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds i8, ptr %11, i32 1 store ptr %12, ptr %3, align 8 br label %5, !llvm.loop !6 13: ; preds = %5 %14 = load ptr, ptr %3, align 8 %15 = load ptr, ptr %2, align 8 %16 = ptrtoint ptr %14 to i64 %17 = ptrtoint ptr %15 to i64 %18 = sub i64 %16, %17 %19 = trunc i64 %18 to i32 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/tmpwsqua9mf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i8, ptr %5, align 1 %7 = icmp ne i8 %6, 0 br i1 %7, label %.lr.ph, label %15 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %9 br label %9 9: ; preds = %8 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds i8, ptr %10, i32 1 store ptr %11, ptr %3, align 8 %12 = load ptr, ptr %3, align 8 %13 = load i8, ptr %12, align 1 %14 = icmp ne i8 %13, 0 br i1 %14, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %15 15: ; preds = %._crit_edge, %1 %16 = load ptr, ptr %3, align 8 %17 = load ptr, ptr %2, align 8 %18 = ptrtoint ptr %16 to i64 %19 = ptrtoint ptr %17 to i64 %20 = sub i64 %18, %19 %21 = trunc i64 %20 to i32 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/tmpox9p045p.c' source_filename = "/tmp/tmpox9p045p.c" target datalayout = "e-m:e-p270: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/tmpox9p045p.c" target datalayout = "e-m:e-p270: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/tmpkub51uvz.c' source_filename = "/tmp/tmpkub51uvz.c" target datalayout = "e-m:e-p270: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 @Q_rho_time(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 %9 = load double, ptr @M_PI, align 8 %10 = load double, ptr %6, align 8 %11 = fmul double %9, %10 %12 = load double, ptr %7, align 8 %13 = fmul double %11, %12 %14 = load double, ptr @M_PI, align 8 %15 = load double, ptr %6, align 8 %16 = fmul double %14, %15 %17 = load double, ptr %8, align 8 %18 = fmul double %16, %17 %19 = load double, ptr %5, align 8 %20 = fdiv double %18, %19 %21 = call double @cos(double noundef %20) #2 %22 = fmul double %13, %21 %23 = load double, ptr %5, align 8 %24 = fdiv double %22, %23 ret double %24 } ; Function Attrs: nounwind declare double @cos(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/tmpkub51uvz.c" target datalayout = "e-m:e-p270: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 @Q_rho_time(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 %9 = load double, ptr @M_PI, align 8 %10 = load double, ptr %6, align 8 %11 = fmul double %9, %10 %12 = load double, ptr %7, align 8 %13 = fmul double %11, %12 %14 = load double, ptr @M_PI, align 8 %15 = load double, ptr %6, align 8 %16 = fmul double %14, %15 %17 = load double, ptr %8, align 8 %18 = fmul double %16, %17 %19 = load double, ptr %5, align 8 %20 = fdiv double %18, %19 %21 = call double @cos(double noundef %20) #2 %22 = fmul double %13, %21 %23 = load double, ptr %5, align 8 %24 = fdiv double %22, %23 ret double %24 } ; Function Attrs: nounwind declare double @cos(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/tmpm3betxkr.c' source_filename = "/tmp/tmpm3betxkr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @PWM3_3_IRQHandler() #0 { %1 = call i32 (...) @PWM3_3_DriverIRQHandler() ret void } declare i32 @PWM3_3_DriverIRQHandler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm3betxkr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @PWM3_3_IRQHandler() #0 { %1 = call i32 (...) @PWM3_3_DriverIRQHandler() ret void } declare i32 @PWM3_3_DriverIRQHandler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpifq_c018.c' source_filename = "/tmp/tmpifq_c018.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1 @OK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_delscreen(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = call i32 @check_arg_count(i32 noundef %6, i32 noundef 1) %8 = icmp eq i32 %7, 1 br i1 %8, label %9, label %10 9: ; preds = %2 br label %25 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = call i64 @sscanf(ptr noundef %13, ptr noundef @.str, ptr noundef %5) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %10 %17 = call i32 @report_count(i32 noundef 1) %18 = call i32 @report_error(ptr noundef @.str.1) br label %25 19: ; preds = %10 %20 = load ptr, ptr %5, align 8 %21 = call i32 @delscreen(ptr noundef %20) %22 = call i32 @report_count(i32 noundef 1) %23 = load i32, ptr @OK, align 4 %24 = call i32 @report_return(i32 noundef %23) br label %25 25: ; preds = %19, %16, %9 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_error(ptr noundef) #1 declare i32 @delscreen(ptr noundef) #1 declare i32 @report_return(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/tmpifq_c018.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1 @OK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_delscreen(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = call i32 @check_arg_count(i32 noundef %6, i32 noundef 1) %8 = icmp eq i32 %7, 1 br i1 %8, label %9, label %10 9: ; preds = %2 br label %25 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = call i64 @sscanf(ptr noundef %13, ptr noundef @.str, ptr noundef %5) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %10 %17 = call i32 @report_count(i32 noundef 1) %18 = call i32 @report_error(ptr noundef @.str.1) br label %25 19: ; preds = %10 %20 = load ptr, ptr %5, align 8 %21 = call i32 @delscreen(ptr noundef %20) %22 = call i32 @report_count(i32 noundef 1) %23 = load i32, ptr @OK, align 4 %24 = call i32 @report_return(i32 noundef %23) br label %25 25: ; preds = %19, %16, %9 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_error(ptr noundef) #1 declare i32 @delscreen(ptr noundef) #1 declare i32 @report_return(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/tmpury89ivp.c' source_filename = "/tmp/tmpury89ivp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SYS_write = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Process Name : \09\09\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"Process Status : \09\09\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Parent PID : \09\09\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"Threads : \09\09\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @findAndPrint(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 store ptr %5, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %6 6: ; preds = %18, %1 %7 = load ptr, ptr %3, align 8 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 58 br i1 %10, label %11, label %16 11: ; preds = %6 %12 = load ptr, ptr %3, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br label %16 16: ; preds = %11, %6 %17 = phi i1 [ false, %6 ], [ %15, %11 ] br i1 %17, label %18, label %23 18: ; preds = %16 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %3, align 8 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 br label %6, !llvm.loop !6 23: ; preds = %16 %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %3, align 8 %26 = load ptr, ptr %2, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 0 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 78 br i1 %30, label %31, label %51 31: ; preds = %23 %32 = load ptr, ptr %2, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 1 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 97 br i1 %36, label %37, label %51 37: ; preds = %31 %38 = load i32, ptr %4, align 4 %39 = icmp eq i32 %38, 4 br i1 %39, label %40, label %51 40: ; preds = %37 %41 = load i32, ptr @SYS_write, align 4 %42 = load i32, ptr @STDOUT_FILENO, align 4 %43 = call i32 @strlen(ptr noundef @.str) %44 = call i32 @syscall(i32 noundef %41, i32 noundef %42, ptr noundef @.str, i32 noundef %43) %45 = load i32, ptr @SYS_write, align 4 %46 = load i32, ptr @STDOUT_FILENO, align 4 %47 = load ptr, ptr %3, align 8 %48 = load ptr, ptr %3, align 8 %49 = call i32 @strlen(ptr noundef %48) %50 = call i32 @syscall(i32 noundef %45, i32 noundef %46, ptr noundef %47, i32 noundef %49) br label %51 51: ; preds = %40, %37, %31, %23 %52 = load ptr, ptr %2, align 8 %53 = getelementptr inbounds i8, ptr %52, i64 0 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp eq i32 %55, 83 br i1 %56, label %57, label %71 57: ; preds = %51 %58 = load i32, ptr %4, align 4 %59 = icmp eq i32 %58, 5 br i1 %59, label %60, label %71 60: ; preds = %57 %61 = load i32, ptr @SYS_write, align 4 %62 = load i32, ptr @STDOUT_FILENO, align 4 %63 = call i32 @strlen(ptr noundef @.str.1) %64 = call i32 @syscall(i32 noundef %61, i32 noundef %62, ptr noundef @.str.1, i32 noundef %63) %65 = load i32, ptr @SYS_write, align 4 %66 = load i32, ptr @STDOUT_FILENO, align 4 %67 = load ptr, ptr %3, align 8 %68 = load ptr, ptr %3, align 8 %69 = call i32 @strlen(ptr noundef %68) %70 = call i32 @syscall(i32 noundef %65, i32 noundef %66, ptr noundef %67, i32 noundef %69) br label %71 71: ; preds = %60, %57, %51 %72 = load ptr, ptr %2, align 8 %73 = getelementptr inbounds i8, ptr %72, i64 0 %74 = load i8, ptr %73, align 1 %75 = sext i8 %74 to i32 %76 = icmp eq i32 %75, 80 br i1 %76, label %77, label %91 77: ; preds = %71 %78 = load i32, ptr %4, align 4 %79 = icmp eq i32 %78, 4 br i1 %79, label %80, label %91 80: ; preds = %77 %81 = load i32, ptr @SYS_write, align 4 %82 = load i32, ptr @STDOUT_FILENO, align 4 %83 = call i32 @strlen(ptr noundef @.str.2) %84 = call i32 @syscall(i32 noundef %81, i32 noundef %82, ptr noundef @.str.2, i32 noundef %83) %85 = load i32, ptr @SYS_write, align 4 %86 = load i32, ptr @STDOUT_FILENO, align 4 %87 = load ptr, ptr %3, align 8 %88 = load ptr, ptr %3, align 8 %89 = call i32 @strlen(ptr noundef %88) %90 = call i32 @syscall(i32 noundef %85, i32 noundef %86, ptr noundef %87, i32 noundef %89) br label %91 91: ; preds = %80, %77, %71 %92 = load ptr, ptr %2, align 8 %93 = getelementptr inbounds i8, ptr %92, i64 0 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i32 %96 = icmp eq i32 %95, 84 br i1 %96, label %97, label %111 97: ; preds = %91 %98 = load i32, ptr %4, align 4 %99 = icmp eq i32 %98, 7 br i1 %99, label %100, label %111 100: ; preds = %97 %101 = load i32, ptr @SYS_write, align 4 %102 = load i32, ptr @STDOUT_FILENO, align 4 %103 = call i32 @strlen(ptr noundef @.str.3) %104 = call i32 @syscall(i32 noundef %101, i32 noundef %102, ptr noundef @.str.3, i32 noundef %103) %105 = load i32, ptr @SYS_write, align 4 %106 = load i32, ptr @STDOUT_FILENO, align 4 %107 = load ptr, ptr %3, align 8 %108 = load ptr, ptr %3, align 8 %109 = call i32 @strlen(ptr noundef %108) %110 = call i32 @syscall(i32 noundef %105, i32 noundef %106, ptr noundef %107, i32 noundef %109) br label %111 111: ; preds = %100, %97, %91 ret void } declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpury89ivp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SYS_write = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Process Name : \09\09\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"Process Status : \09\09\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Parent PID : \09\09\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"Threads : \09\09\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @findAndPrint(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 store ptr %5, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %6 6: ; preds = %18, %1 %7 = load ptr, ptr %3, align 8 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 58 br i1 %10, label %11, label %16 11: ; preds = %6 %12 = load ptr, ptr %3, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br label %16 16: ; preds = %11, %6 %17 = phi i1 [ false, %6 ], [ %15, %11 ] br i1 %17, label %18, label %23 18: ; preds = %16 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %3, align 8 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 br label %6, !llvm.loop !6 23: ; preds = %16 %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %3, align 8 %26 = load ptr, ptr %2, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 0 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 78 br i1 %30, label %31, label %51 31: ; preds = %23 %32 = load ptr, ptr %2, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 1 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 97 br i1 %36, label %37, label %51 37: ; preds = %31 %38 = load i32, ptr %4, align 4 %39 = icmp eq i32 %38, 4 br i1 %39, label %40, label %51 40: ; preds = %37 %41 = load i32, ptr @SYS_write, align 4 %42 = load i32, ptr @STDOUT_FILENO, align 4 %43 = call i32 @strlen(ptr noundef @.str) %44 = call i32 @syscall(i32 noundef %41, i32 noundef %42, ptr noundef @.str, i32 noundef %43) %45 = load i32, ptr @SYS_write, align 4 %46 = load i32, ptr @STDOUT_FILENO, align 4 %47 = load ptr, ptr %3, align 8 %48 = load ptr, ptr %3, align 8 %49 = call i32 @strlen(ptr noundef %48) %50 = call i32 @syscall(i32 noundef %45, i32 noundef %46, ptr noundef %47, i32 noundef %49) br label %51 51: ; preds = %40, %37, %31, %23 %52 = load ptr, ptr %2, align 8 %53 = getelementptr inbounds i8, ptr %52, i64 0 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp eq i32 %55, 83 br i1 %56, label %57, label %71 57: ; preds = %51 %58 = load i32, ptr %4, align 4 %59 = icmp eq i32 %58, 5 br i1 %59, label %60, label %71 60: ; preds = %57 %61 = load i32, ptr @SYS_write, align 4 %62 = load i32, ptr @STDOUT_FILENO, align 4 %63 = call i32 @strlen(ptr noundef @.str.1) %64 = call i32 @syscall(i32 noundef %61, i32 noundef %62, ptr noundef @.str.1, i32 noundef %63) %65 = load i32, ptr @SYS_write, align 4 %66 = load i32, ptr @STDOUT_FILENO, align 4 %67 = load ptr, ptr %3, align 8 %68 = load ptr, ptr %3, align 8 %69 = call i32 @strlen(ptr noundef %68) %70 = call i32 @syscall(i32 noundef %65, i32 noundef %66, ptr noundef %67, i32 noundef %69) br label %71 71: ; preds = %60, %57, %51 %72 = load ptr, ptr %2, align 8 %73 = getelementptr inbounds i8, ptr %72, i64 0 %74 = load i8, ptr %73, align 1 %75 = sext i8 %74 to i32 %76 = icmp eq i32 %75, 80 br i1 %76, label %77, label %91 77: ; preds = %71 %78 = load i32, ptr %4, align 4 %79 = icmp eq i32 %78, 4 br i1 %79, label %80, label %91 80: ; preds = %77 %81 = load i32, ptr @SYS_write, align 4 %82 = load i32, ptr @STDOUT_FILENO, align 4 %83 = call i32 @strlen(ptr noundef @.str.2) %84 = call i32 @syscall(i32 noundef %81, i32 noundef %82, ptr noundef @.str.2, i32 noundef %83) %85 = load i32, ptr @SYS_write, align 4 %86 = load i32, ptr @STDOUT_FILENO, align 4 %87 = load ptr, ptr %3, align 8 %88 = load ptr, ptr %3, align 8 %89 = call i32 @strlen(ptr noundef %88) %90 = call i32 @syscall(i32 noundef %85, i32 noundef %86, ptr noundef %87, i32 noundef %89) br label %91 91: ; preds = %80, %77, %71 %92 = load ptr, ptr %2, align 8 %93 = getelementptr inbounds i8, ptr %92, i64 0 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i32 %96 = icmp eq i32 %95, 84 br i1 %96, label %97, label %111 97: ; preds = %91 %98 = load i32, ptr %4, align 4 %99 = icmp eq i32 %98, 7 br i1 %99, label %100, label %111 100: ; preds = %97 %101 = load i32, ptr @SYS_write, align 4 %102 = load i32, ptr @STDOUT_FILENO, align 4 %103 = call i32 @strlen(ptr noundef @.str.3) %104 = call i32 @syscall(i32 noundef %101, i32 noundef %102, ptr noundef @.str.3, i32 noundef %103) %105 = load i32, ptr @SYS_write, align 4 %106 = load i32, ptr @STDOUT_FILENO, align 4 %107 = load ptr, ptr %3, align 8 %108 = load ptr, ptr %3, align 8 %109 = call i32 @strlen(ptr noundef %108) %110 = call i32 @syscall(i32 noundef %105, i32 noundef %106, ptr noundef %107, i32 noundef %109) br label %111 111: ; preds = %100, %97, %91 ret void } declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnrkwbdig.c' source_filename = "/tmp/tmpnrkwbdig.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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, -1756072936 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/tmpnrkwbdig.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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, -1756072936 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/tmp8_ykju3e.c' source_filename = "/tmp/tmp8_ykju3e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sigintHandler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = 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/tmp8_ykju3e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sigintHandler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = 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/tmpebou5zl8.c' source_filename = "/tmp/tmpebou5zl8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\E7\88\B6\E8\BF\9B\E7\A8\8Bid:%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"\E7\88\B6\E8\BF\9B\E7\A8\8B\E7\BB\93\E6\9D\9F\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"myid=%d, my parent:%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i64 (...) @fork() %4 = icmp ne i64 %3, 0 br i1 %4, label %5, label %11 5: ; preds = %0 %6 = call i32 (...) @getpid() %7 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %6) %8 = call i32 @sleep(i32 noundef 5) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %10 = call i32 @exit(i32 noundef 0) #3 unreachable 11: ; preds = %0 store i32 0, ptr %2, align 4 br label %12 12: ; preds = %20, %11 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %13, 10 br i1 %14, label %15, label %23 15: ; preds = %12 %16 = call i32 (...) @getpid() %17 = call i32 (...) @getppid() %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16, i32 noundef %17) %19 = call i32 @sleep(i32 noundef 1) br label %20 20: ; preds = %15 %21 = load i32, ptr %2, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %2, align 4 br label %12, !llvm.loop !6 23: ; preds = %12 %24 = load i32, ptr %1, align 4 ret i32 %24 } declare i64 @fork(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @sleep(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @getppid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpebou5zl8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\E7\88\B6\E8\BF\9B\E7\A8\8Bid:%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"\E7\88\B6\E8\BF\9B\E7\A8\8B\E7\BB\93\E6\9D\9F\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"myid=%d, my parent:%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i64 (...) @fork() %4 = icmp ne i64 %3, 0 br i1 %4, label %5, label %11 5: ; preds = %0 %6 = call i32 (...) @getpid() %7 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %6) %8 = call i32 @sleep(i32 noundef 5) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %10 = call i32 @exit(i32 noundef 0) #3 unreachable 11: ; preds = %0 store i32 0, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %12, 10 br i1 %13, label %.lr.ph, label %24 .lr.ph: ; preds = %11 br label %14 14: ; preds = %.lr.ph, %19 %15 = call i32 (...) @getpid() %16 = call i32 (...) @getppid() %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15, i32 noundef %16) %18 = call i32 @sleep(i32 noundef 1) br label %19 19: ; preds = %14 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %2, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp slt i32 %22, 10 br i1 %23, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %11 %25 = load i32, ptr %1, align 4 ret i32 %25 } declare i64 @fork(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @sleep(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @getppid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpv20esoej.c' source_filename = "/tmp/tmpv20esoej.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @copy_content(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 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %2, %14 %8 = load ptr, ptr %3, align 8 %9 = call i64 @fread(ptr noundef %5, i32 noundef 4, i32 noundef 1, ptr noundef %8) %10 = trunc i64 %9 to i32 store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %14, label %13 13: ; preds = %7 br label %17 14: ; preds = %7 %15 = load ptr, ptr %4, align 8 %16 = call i32 @fwrite(ptr noundef %5, i32 noundef 4, i32 noundef 1, ptr noundef %15) br label %7 17: ; preds = %13 ret void } declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv20esoej.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @copy_content(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 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %7 = load ptr, ptr %3, align 8 %8 = call i64 @fread(ptr noundef %5, i32 noundef 4, i32 noundef 1, ptr noundef %7) %9 = trunc i64 %8 to i32 store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %.lr.ph, label %12 .lr.ph: ; preds = %2 br label %13 ._crit_edge: ; preds = %13 br label %12 12: ; preds = %._crit_edge, %2 br label %21 13: ; preds = %.lr.ph, %13 %14 = load ptr, ptr %4, align 8 %15 = call i32 @fwrite(ptr noundef %5, i32 noundef 4, i32 noundef 1, ptr noundef %14) %16 = load ptr, ptr %3, align 8 %17 = call i64 @fread(ptr noundef %5, i32 noundef 4, i32 noundef 1, ptr noundef %16) %18 = trunc i64 %17 to i32 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %13, label %._crit_edge 21: ; preds = %12 ret void } declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpir1l5yn1.c' source_filename = "/tmp/tmpir1l5yn1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @svd22(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca [4 x double], align 16 %19 = alloca [4 x double], align 16 %20 = alloca double, align 8 %21 = alloca [4 x double], align 16 %22 = alloca [4 x double], align 16 %23 = alloca double, align 8 %24 = alloca [2 x double], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds double, ptr %25, i64 0 %27 = load double, ptr %26, align 8 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds double, ptr %28, i64 0 %30 = load double, ptr %29, align 8 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds double, ptr %31, i64 2 %33 = load double, ptr %32, align 8 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds double, ptr %34, i64 2 %36 = load double, ptr %35, align 8 %37 = fmul double %33, %36 %38 = call double @llvm.fmuladd.f64(double %27, double %30, double %37) store double %38, ptr %9, align 8 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds double, ptr %39, i64 0 %41 = load double, ptr %40, align 8 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds double, ptr %42, i64 1 %44 = load double, ptr %43, align 8 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds double, ptr %45, i64 2 %47 = load double, ptr %46, align 8 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds double, ptr %48, i64 3 %50 = load double, ptr %49, align 8 %51 = fmul double %47, %50 %52 = call double @llvm.fmuladd.f64(double %41, double %44, double %51) store double %52, ptr %10, align 8 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds double, ptr %53, i64 1 %55 = load double, ptr %54, align 8 %56 = load ptr, ptr %5, align 8 %57 = getelementptr inbounds double, ptr %56, i64 1 %58 = load double, ptr %57, align 8 %59 = load ptr, ptr %5, align 8 %60 = getelementptr inbounds double, ptr %59, i64 3 %61 = load double, ptr %60, align 8 %62 = load ptr, ptr %5, align 8 %63 = getelementptr inbounds double, ptr %62, i64 3 %64 = load double, ptr %63, align 8 %65 = fmul double %61, %64 %66 = call double @llvm.fmuladd.f64(double %55, double %58, double %65) store double %66, ptr %11, align 8 %67 = load double, ptr %10, align 8 %68 = fmul double 2.000000e+00, %67 %69 = fptosi double %68 to i32 %70 = load double, ptr %9, align 8 %71 = load double, ptr %11, align 8 %72 = fsub double %70, %71 %73 = call double @atan2(i32 noundef %69, double noundef %72) %74 = fmul double 5.000000e-01, %73 store double %74, ptr %12, align 8 %75 = load ptr, ptr %5, align 8 %76 = getelementptr inbounds double, ptr %75, i64 0 %77 = load double, ptr %76, align 8 %78 = load ptr, ptr %5, align 8 %79 = getelementptr inbounds double, ptr %78, i64 0 %80 = load double, ptr %79, align 8 %81 = load ptr, ptr %5, align 8 %82 = getelementptr inbounds double, ptr %81, i64 1 %83 = load double, ptr %82, align 8 %84 = load ptr, ptr %5, align 8 %85 = getelementptr inbounds double, ptr %84, i64 1 %86 = load double, ptr %85, align 8 %87 = fmul double %83, %86 %88 = call double @llvm.fmuladd.f64(double %77, double %80, double %87) store double %88, ptr %9, align 8 %89 = load ptr, ptr %5, align 8 %90 = getelementptr inbounds double, ptr %89, i64 0 %91 = load double, ptr %90, align 8 %92 = load ptr, ptr %5, align 8 %93 = getelementptr inbounds double, ptr %92, i64 2 %94 = load double, ptr %93, align 8 %95 = load ptr, ptr %5, align 8 %96 = getelementptr inbounds double, ptr %95, i64 1 %97 = load double, ptr %96, align 8 %98 = load ptr, ptr %5, align 8 %99 = getelementptr inbounds double, ptr %98, i64 3 %100 = load double, ptr %99, align 8 %101 = fmul double %97, %100 %102 = call double @llvm.fmuladd.f64(double %91, double %94, double %101) store double %102, ptr %10, align 8 %103 = load ptr, ptr %5, align 8 %104 = getelementptr inbounds double, ptr %103, i64 2 %105 = load double, ptr %104, align 8 %106 = load ptr, ptr %5, align 8 %107 = getelementptr inbounds double, ptr %106, i64 2 %108 = load double, ptr %107, align 8 %109 = load ptr, ptr %5, align 8 %110 = getelementptr inbounds double, ptr %109, i64 3 %111 = load double, ptr %110, align 8 %112 = load ptr, ptr %5, align 8 %113 = getelementptr inbounds double, ptr %112, i64 3 %114 = load double, ptr %113, align 8 %115 = fmul double %111, %114 %116 = call double @llvm.fmuladd.f64(double %105, double %108, double %115) store double %116, ptr %11, align 8 %117 = load double, ptr %10, align 8 %118 = fmul double 2.000000e+00, %117 %119 = fptosi double %118 to i32 %120 = load double, ptr %9, align 8 %121 = load double, ptr %11, align 8 %122 = fsub double %120, %121 %123 = call double @atan2(i32 noundef %119, double noundef %122) %124 = fmul double 5.000000e-01, %123 store double %124, ptr %13, align 8 %125 = load double, ptr %13, align 8 %126 = call double @cos(double noundef %125) #4 store double %126, ptr %14, align 8 %127 = load double, ptr %13, align 8 %128 = call double @sin(double noundef %127) #4 store double %128, ptr %15, align 8 %129 = load double, ptr %14, align 8 %130 = load ptr, ptr %6, align 8 %131 = getelementptr inbounds double, ptr %130, i64 0 store double %129, ptr %131, align 8 %132 = load double, ptr %15, align 8 %133 = fneg double %132 %134 = load ptr, ptr %6, align 8 %135 = getelementptr inbounds double, ptr %134, i64 1 store double %133, ptr %135, align 8 %136 = load double, ptr %15, align 8 %137 = load ptr, ptr %6, align 8 %138 = getelementptr inbounds double, ptr %137, i64 2 store double %136, ptr %138, align 8 %139 = load double, ptr %14, align 8 %140 = load ptr, ptr %6, align 8 %141 = getelementptr inbounds double, ptr %140, i64 3 store double %139, ptr %141, align 8 %142 = load double, ptr %12, align 8 %143 = call double @cos(double noundef %142) #4 store double %143, ptr %16, align 8 %144 = load double, ptr %12, align 8 %145 = call double @sin(double noundef %144) #4 store double %145, ptr %17, align 8 %146 = load double, ptr %16, align 8 %147 = load ptr, ptr %8, align 8 %148 = getelementptr inbounds double, ptr %147, i64 0 store double %146, ptr %148, align 8 %149 = load double, ptr %17, align 8 %150 = fneg double %149 %151 = load ptr, ptr %8, align 8 %152 = getelementptr inbounds double, ptr %151, i64 1 store double %150, ptr %152, align 8 %153 = load double, ptr %17, align 8 %154 = load ptr, ptr %8, align 8 %155 = getelementptr inbounds double, ptr %154, i64 2 store double %153, ptr %155, align 8 %156 = load double, ptr %16, align 8 %157 = load ptr, ptr %8, align 8 %158 = getelementptr inbounds double, ptr %157, i64 3 store double %156, ptr %158, align 8 %159 = getelementptr inbounds [4 x double], ptr %18, i64 0, i64 0 %160 = load ptr, ptr %5, align 8 %161 = getelementptr inbounds double, ptr %160, i64 0 %162 = load double, ptr %161, align 8 %163 = load ptr, ptr %8, align 8 %164 = getelementptr inbounds double, ptr %163, i64 0 %165 = load double, ptr %164, align 8 %166 = load ptr, ptr %5, align 8 %167 = getelementptr inbounds double, ptr %166, i64 1 %168 = load double, ptr %167, align 8 %169 = load ptr, ptr %8, align 8 %170 = getelementptr inbounds double, ptr %169, i64 2 %171 = load double, ptr %170, align 8 %172 = fmul double %168, %171 %173 = call double @llvm.fmuladd.f64(double %162, double %165, double %172) store double %173, ptr %159, align 8 %174 = getelementptr inbounds double, ptr %159, i64 1 %175 = load ptr, ptr %5, align 8 %176 = getelementptr inbounds double, ptr %175, i64 0 %177 = load double, ptr %176, align 8 %178 = load ptr, ptr %8, align 8 %179 = getelementptr inbounds double, ptr %178, i64 1 %180 = load double, ptr %179, align 8 %181 = load ptr, ptr %5, align 8 %182 = getelementptr inbounds double, ptr %181, i64 1 %183 = load double, ptr %182, align 8 %184 = load ptr, ptr %8, align 8 %185 = getelementptr inbounds double, ptr %184, i64 3 %186 = load double, ptr %185, align 8 %187 = fmul double %183, %186 %188 = call double @llvm.fmuladd.f64(double %177, double %180, double %187) store double %188, ptr %174, align 8 %189 = getelementptr inbounds double, ptr %174, i64 1 %190 = load ptr, ptr %5, align 8 %191 = getelementptr inbounds double, ptr %190, i64 2 %192 = load double, ptr %191, align 8 %193 = load ptr, ptr %8, align 8 %194 = getelementptr inbounds double, ptr %193, i64 0 %195 = load double, ptr %194, align 8 %196 = load ptr, ptr %5, align 8 %197 = getelementptr inbounds double, ptr %196, i64 3 %198 = load double, ptr %197, align 8 %199 = load ptr, ptr %8, align 8 %200 = getelementptr inbounds double, ptr %199, i64 2 %201 = load double, ptr %200, align 8 %202 = fmul double %198, %201 %203 = call double @llvm.fmuladd.f64(double %192, double %195, double %202) store double %203, ptr %189, align 8 %204 = getelementptr inbounds double, ptr %189, i64 1 %205 = load ptr, ptr %5, align 8 %206 = getelementptr inbounds double, ptr %205, i64 2 %207 = load double, ptr %206, align 8 %208 = load ptr, ptr %8, align 8 %209 = getelementptr inbounds double, ptr %208, i64 1 %210 = load double, ptr %209, align 8 %211 = load ptr, ptr %5, align 8 %212 = getelementptr inbounds double, ptr %211, i64 3 %213 = load double, ptr %212, align 8 %214 = load ptr, ptr %8, align 8 %215 = getelementptr inbounds double, ptr %214, i64 3 %216 = load double, ptr %215, align 8 %217 = fmul double %213, %216 %218 = call double @llvm.fmuladd.f64(double %207, double %210, double %217) store double %218, ptr %204, align 8 %219 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 0 %220 = load ptr, ptr %6, align 8 %221 = getelementptr inbounds double, ptr %220, i64 0 %222 = load double, ptr %221, align 8 %223 = getelementptr inbounds [4 x double], ptr %18, i64 0, i64 0 %224 = load double, ptr %223, align 16 %225 = load ptr, ptr %6, align 8 %226 = getelementptr inbounds double, ptr %225, i64 2 %227 = load double, ptr %226, align 8 %228 = getelementptr inbounds [4 x double], ptr %18, i64 0, i64 2 %229 = load double, ptr %228, align 16 %230 = fmul double %227, %229 %231 = call double @llvm.fmuladd.f64(double %222, double %224, double %230) store double %231, ptr %219, align 8 %232 = getelementptr inbounds double, ptr %219, i64 1 %233 = load ptr, ptr %6, align 8 %234 = getelementptr inbounds double, ptr %233, i64 0 %235 = load double, ptr %234, align 8 %236 = getelementptr inbounds [4 x double], ptr %18, i64 0, i64 1 %237 = load double, ptr %236, align 8 %238 = load ptr, ptr %6, align 8 %239 = getelementptr inbounds double, ptr %238, i64 2 %240 = load double, ptr %239, align 8 %241 = getelementptr inbounds [4 x double], ptr %18, i64 0, i64 3 %242 = load double, ptr %241, align 8 %243 = fmul double %240, %242 %244 = call double @llvm.fmuladd.f64(double %235, double %237, double %243) store double %244, ptr %232, align 8 %245 = getelementptr inbounds double, ptr %232, i64 1 %246 = load ptr, ptr %6, align 8 %247 = getelementptr inbounds double, ptr %246, i64 1 %248 = load double, ptr %247, align 8 %249 = getelementptr inbounds [4 x double], ptr %18, i64 0, i64 0 %250 = load double, ptr %249, align 16 %251 = load ptr, ptr %6, align 8 %252 = getelementptr inbounds double, ptr %251, i64 3 %253 = load double, ptr %252, align 8 %254 = getelementptr inbounds [4 x double], ptr %18, i64 0, i64 2 %255 = load double, ptr %254, align 16 %256 = fmul double %253, %255 %257 = call double @llvm.fmuladd.f64(double %248, double %250, double %256) store double %257, ptr %245, align 8 %258 = getelementptr inbounds double, ptr %245, i64 1 %259 = load ptr, ptr %6, align 8 %260 = getelementptr inbounds double, ptr %259, i64 1 %261 = load double, ptr %260, align 8 %262 = getelementptr inbounds [4 x double], ptr %18, i64 0, i64 1 %263 = load double, ptr %262, align 8 %264 = load ptr, ptr %6, align 8 %265 = getelementptr inbounds double, ptr %264, i64 3 %266 = load double, ptr %265, align 8 %267 = getelementptr inbounds [4 x double], ptr %18, i64 0, i64 3 %268 = load double, ptr %267, align 8 %269 = fmul double %266, %268 %270 = call double @llvm.fmuladd.f64(double %261, double %263, double %269) store double %270, ptr %258, align 8 %271 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 0 %272 = load double, ptr %271, align 16 %273 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 0 %274 = load double, ptr %273, align 16 %275 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 1 %276 = load double, ptr %275, align 8 %277 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 1 %278 = load double, ptr %277, align 8 %279 = fmul double %276, %278 %280 = call double @llvm.fmuladd.f64(double %272, double %274, double %279) %281 = call double @sqrtf(double noundef %280) %282 = load ptr, ptr %7, align 8 %283 = getelementptr inbounds double, ptr %282, i64 0 store double %281, ptr %283, align 8 %284 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 2 %285 = load double, ptr %284, align 16 %286 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 2 %287 = load double, ptr %286, align 16 %288 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 3 %289 = load double, ptr %288, align 8 %290 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 3 %291 = load double, ptr %290, align 8 %292 = fmul double %289, %291 %293 = call double @llvm.fmuladd.f64(double %285, double %287, double %292) %294 = call double @sqrtf(double noundef %293) %295 = load ptr, ptr %7, align 8 %296 = getelementptr inbounds double, ptr %295, i64 1 store double %294, ptr %296, align 8 store double 0x3EB0C6F7A0B5ED8D, ptr %20, align 8 %297 = load ptr, ptr %7, align 8 %298 = getelementptr inbounds double, ptr %297, i64 0 %299 = load double, ptr %298, align 8 %300 = load double, ptr %20, align 8 %301 = fcmp ogt double %299, %300 br i1 %301, label %302, label %317 302: ; preds = %4 %303 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 0 %304 = load double, ptr %303, align 16 %305 = load ptr, ptr %7, align 8 %306 = getelementptr inbounds double, ptr %305, i64 0 %307 = load double, ptr %306, align 8 %308 = fdiv double %304, %307 %309 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 0 store double %308, ptr %309, align 16 %310 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 2 %311 = load double, ptr %310, align 16 %312 = load ptr, ptr %7, align 8 %313 = getelementptr inbounds double, ptr %312, i64 0 %314 = load double, ptr %313, align 8 %315 = fdiv double %311, %314 %316 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 2 store double %315, ptr %316, align 16 br label %320 317: ; preds = %4 %318 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 0 store double 1.000000e+00, ptr %318, align 16 %319 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 2 store double 0.000000e+00, ptr %319, align 16 br label %320 320: ; preds = %317, %302 %321 = load ptr, ptr %7, align 8 %322 = getelementptr inbounds double, ptr %321, i64 1 %323 = load double, ptr %322, align 8 %324 = load double, ptr %20, align 8 %325 = fcmp ogt double %323, %324 br i1 %325, label %326, label %341 326: ; preds = %320 %327 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 1 %328 = load double, ptr %327, align 8 %329 = load ptr, ptr %7, align 8 %330 = getelementptr inbounds double, ptr %329, i64 1 %331 = load double, ptr %330, align 8 %332 = fdiv double %328, %331 %333 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 1 store double %332, ptr %333, align 8 %334 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 3 %335 = load double, ptr %334, align 8 %336 = load ptr, ptr %7, align 8 %337 = getelementptr inbounds double, ptr %336, i64 1 %338 = load double, ptr %337, align 8 %339 = fdiv double %335, %338 %340 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 3 store double %339, ptr %340, align 8 br label %344 341: ; preds = %320 %342 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 1 store double 0.000000e+00, ptr %342, align 8 %343 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 3 store double 1.000000e+00, ptr %343, align 8 br label %344 344: ; preds = %341, %326 %345 = getelementptr inbounds [4 x double], ptr %22, i64 0, i64 0 %346 = load ptr, ptr %6, align 8 %347 = getelementptr inbounds double, ptr %346, i64 0 %348 = load double, ptr %347, align 8 %349 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 0 %350 = load double, ptr %349, align 16 %351 = load ptr, ptr %6, align 8 %352 = getelementptr inbounds double, ptr %351, i64 1 %353 = load double, ptr %352, align 8 %354 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 2 %355 = load double, ptr %354, align 16 %356 = fmul double %353, %355 %357 = call double @llvm.fmuladd.f64(double %348, double %350, double %356) store double %357, ptr %345, align 8 %358 = getelementptr inbounds double, ptr %345, i64 1 %359 = load ptr, ptr %6, align 8 %360 = getelementptr inbounds double, ptr %359, i64 0 %361 = load double, ptr %360, align 8 %362 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 1 %363 = load double, ptr %362, align 8 %364 = load ptr, ptr %6, align 8 %365 = getelementptr inbounds double, ptr %364, i64 1 %366 = load double, ptr %365, align 8 %367 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 3 %368 = load double, ptr %367, align 8 %369 = fmul double %366, %368 %370 = call double @llvm.fmuladd.f64(double %361, double %363, double %369) store double %370, ptr %358, align 8 %371 = getelementptr inbounds double, ptr %358, i64 1 %372 = load ptr, ptr %6, align 8 %373 = getelementptr inbounds double, ptr %372, i64 2 %374 = load double, ptr %373, align 8 %375 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 0 %376 = load double, ptr %375, align 16 %377 = load ptr, ptr %6, align 8 %378 = getelementptr inbounds double, ptr %377, i64 3 %379 = load double, ptr %378, align 8 %380 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 2 %381 = load double, ptr %380, align 16 %382 = fmul double %379, %381 %383 = call double @llvm.fmuladd.f64(double %374, double %376, double %382) store double %383, ptr %371, align 8 %384 = getelementptr inbounds double, ptr %371, i64 1 %385 = load ptr, ptr %6, align 8 %386 = getelementptr inbounds double, ptr %385, i64 2 %387 = load double, ptr %386, align 8 %388 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 1 %389 = load double, ptr %388, align 8 %390 = load ptr, ptr %6, align 8 %391 = getelementptr inbounds double, ptr %390, i64 3 %392 = load double, ptr %391, align 8 %393 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 3 %394 = load double, ptr %393, align 8 %395 = fmul double %392, %394 %396 = call double @llvm.fmuladd.f64(double %387, double %389, double %395) store double %396, ptr %384, align 8 %397 = load ptr, ptr %6, align 8 %398 = getelementptr inbounds [4 x double], ptr %22, i64 0, i64 0 %399 = call i32 @memcpy(ptr noundef %397, ptr noundef %398, i32 noundef 32) %400 = load ptr, ptr %7, align 8 %401 = getelementptr inbounds double, ptr %400, i64 0 %402 = load double, ptr %401, align 8 %403 = fcmp oge double %402, 0.000000e+00 %404 = zext i1 %403 to i32 %405 = call i32 @assert(i32 noundef %404) %406 = load ptr, ptr %7, align 8 %407 = getelementptr inbounds double, ptr %406, i64 1 %408 = load double, ptr %407, align 8 %409 = fcmp oge double %408, 0.000000e+00 %410 = zext i1 %409 to i32 %411 = call i32 @assert(i32 noundef %410) %412 = load ptr, ptr %7, align 8 %413 = getelementptr inbounds double, ptr %412, i64 1 %414 = load double, ptr %413, align 8 %415 = call i64 @fabs(double noundef %414) %416 = load ptr, ptr %7, align 8 %417 = getelementptr inbounds double, ptr %416, i64 0 %418 = load double, ptr %417, align 8 %419 = call i64 @fabs(double noundef %418) %420 = icmp sgt i64 %415, %419 br i1 %420, label %421, label %485 421: ; preds = %344 %422 = load ptr, ptr %7, align 8 %423 = getelementptr inbounds double, ptr %422, i64 0 %424 = load double, ptr %423, align 8 store double %424, ptr %23, align 8 %425 = load ptr, ptr %7, align 8 %426 = getelementptr inbounds double, ptr %425, i64 1 %427 = load double, ptr %426, align 8 %428 = load ptr, ptr %7, align 8 %429 = getelementptr inbounds double, ptr %428, i64 0 store double %427, ptr %429, align 8 %430 = load double, ptr %23, align 8 %431 = load ptr, ptr %7, align 8 %432 = getelementptr inbounds double, ptr %431, i64 1 store double %430, ptr %432, align 8 %433 = load ptr, ptr %6, align 8 %434 = getelementptr inbounds double, ptr %433, i64 0 %435 = load double, ptr %434, align 8 %436 = getelementptr inbounds [2 x double], ptr %24, i64 0, i64 0 store double %435, ptr %436, align 16 %437 = load ptr, ptr %6, align 8 %438 = getelementptr inbounds double, ptr %437, i64 2 %439 = load double, ptr %438, align 8 %440 = getelementptr inbounds [2 x double], ptr %24, i64 0, i64 1 store double %439, ptr %440, align 8 %441 = load ptr, ptr %6, align 8 %442 = getelementptr inbounds double, ptr %441, i64 1 %443 = load double, ptr %442, align 8 %444 = load ptr, ptr %6, align 8 %445 = getelementptr inbounds double, ptr %444, i64 0 store double %443, ptr %445, align 8 %446 = load ptr, ptr %6, align 8 %447 = getelementptr inbounds double, ptr %446, i64 3 %448 = load double, ptr %447, align 8 %449 = load ptr, ptr %6, align 8 %450 = getelementptr inbounds double, ptr %449, i64 2 store double %448, ptr %450, align 8 %451 = getelementptr inbounds [2 x double], ptr %24, i64 0, i64 0 %452 = load double, ptr %451, align 16 %453 = load ptr, ptr %6, align 8 %454 = getelementptr inbounds double, ptr %453, i64 1 store double %452, ptr %454, align 8 %455 = getelementptr inbounds [2 x double], ptr %24, i64 0, i64 1 %456 = load double, ptr %455, align 8 %457 = load ptr, ptr %6, align 8 %458 = getelementptr inbounds double, ptr %457, i64 3 store double %456, ptr %458, align 8 %459 = load ptr, ptr %8, align 8 %460 = getelementptr inbounds double, ptr %459, i64 0 %461 = load double, ptr %460, align 8 %462 = getelementptr inbounds [2 x double], ptr %24, i64 0, i64 0 store double %461, ptr %462, align 16 %463 = load ptr, ptr %8, align 8 %464 = getelementptr inbounds double, ptr %463, i64 2 %465 = load double, ptr %464, align 8 %466 = getelementptr inbounds [2 x double], ptr %24, i64 0, i64 1 store double %465, ptr %466, align 8 %467 = load ptr, ptr %8, align 8 %468 = getelementptr inbounds double, ptr %467, i64 1 %469 = load double, ptr %468, align 8 %470 = load ptr, ptr %8, align 8 %471 = getelementptr inbounds double, ptr %470, i64 0 store double %469, ptr %471, align 8 %472 = load ptr, ptr %8, align 8 %473 = getelementptr inbounds double, ptr %472, i64 3 %474 = load double, ptr %473, align 8 %475 = load ptr, ptr %8, align 8 %476 = getelementptr inbounds double, ptr %475, i64 2 store double %474, ptr %476, align 8 %477 = getelementptr inbounds [2 x double], ptr %24, i64 0, i64 0 %478 = load double, ptr %477, align 16 %479 = load ptr, ptr %8, align 8 %480 = getelementptr inbounds double, ptr %479, i64 1 store double %478, ptr %480, align 8 %481 = getelementptr inbounds [2 x double], ptr %24, i64 0, i64 1 %482 = load double, ptr %481, align 8 %483 = load ptr, ptr %8, align 8 %484 = getelementptr inbounds double, ptr %483, i64 3 store double %482, ptr %484, align 8 br label %485 485: ; preds = %421, %344 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare double @atan2(i32 noundef, double noundef) #2 ; Function Attrs: nounwind declare double @cos(double noundef) #3 ; Function Attrs: nounwind declare double @sin(double noundef) #3 declare double @sqrtf(double noundef) #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @assert(i32 noundef) #2 declare i64 @fabs(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpir1l5yn1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @svd22(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca [4 x double], align 16 %19 = alloca [4 x double], align 16 %20 = alloca double, align 8 %21 = alloca [4 x double], align 16 %22 = alloca [4 x double], align 16 %23 = alloca double, align 8 %24 = alloca [2 x double], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds double, ptr %25, i64 0 %27 = load double, ptr %26, align 8 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds double, ptr %28, i64 0 %30 = load double, ptr %29, align 8 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds double, ptr %31, i64 2 %33 = load double, ptr %32, align 8 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds double, ptr %34, i64 2 %36 = load double, ptr %35, align 8 %37 = fmul double %33, %36 %38 = call double @llvm.fmuladd.f64(double %27, double %30, double %37) store double %38, ptr %9, align 8 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds double, ptr %39, i64 0 %41 = load double, ptr %40, align 8 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds double, ptr %42, i64 1 %44 = load double, ptr %43, align 8 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds double, ptr %45, i64 2 %47 = load double, ptr %46, align 8 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds double, ptr %48, i64 3 %50 = load double, ptr %49, align 8 %51 = fmul double %47, %50 %52 = call double @llvm.fmuladd.f64(double %41, double %44, double %51) store double %52, ptr %10, align 8 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds double, ptr %53, i64 1 %55 = load double, ptr %54, align 8 %56 = load ptr, ptr %5, align 8 %57 = getelementptr inbounds double, ptr %56, i64 1 %58 = load double, ptr %57, align 8 %59 = load ptr, ptr %5, align 8 %60 = getelementptr inbounds double, ptr %59, i64 3 %61 = load double, ptr %60, align 8 %62 = load ptr, ptr %5, align 8 %63 = getelementptr inbounds double, ptr %62, i64 3 %64 = load double, ptr %63, align 8 %65 = fmul double %61, %64 %66 = call double @llvm.fmuladd.f64(double %55, double %58, double %65) store double %66, ptr %11, align 8 %67 = load double, ptr %10, align 8 %68 = fmul double 2.000000e+00, %67 %69 = fptosi double %68 to i32 %70 = load double, ptr %9, align 8 %71 = load double, ptr %11, align 8 %72 = fsub double %70, %71 %73 = call double @atan2(i32 noundef %69, double noundef %72) %74 = fmul double 5.000000e-01, %73 store double %74, ptr %12, align 8 %75 = load ptr, ptr %5, align 8 %76 = getelementptr inbounds double, ptr %75, i64 0 %77 = load double, ptr %76, align 8 %78 = load ptr, ptr %5, align 8 %79 = getelementptr inbounds double, ptr %78, i64 0 %80 = load double, ptr %79, align 8 %81 = load ptr, ptr %5, align 8 %82 = getelementptr inbounds double, ptr %81, i64 1 %83 = load double, ptr %82, align 8 %84 = load ptr, ptr %5, align 8 %85 = getelementptr inbounds double, ptr %84, i64 1 %86 = load double, ptr %85, align 8 %87 = fmul double %83, %86 %88 = call double @llvm.fmuladd.f64(double %77, double %80, double %87) store double %88, ptr %9, align 8 %89 = load ptr, ptr %5, align 8 %90 = getelementptr inbounds double, ptr %89, i64 0 %91 = load double, ptr %90, align 8 %92 = load ptr, ptr %5, align 8 %93 = getelementptr inbounds double, ptr %92, i64 2 %94 = load double, ptr %93, align 8 %95 = load ptr, ptr %5, align 8 %96 = getelementptr inbounds double, ptr %95, i64 1 %97 = load double, ptr %96, align 8 %98 = load ptr, ptr %5, align 8 %99 = getelementptr inbounds double, ptr %98, i64 3 %100 = load double, ptr %99, align 8 %101 = fmul double %97, %100 %102 = call double @llvm.fmuladd.f64(double %91, double %94, double %101) store double %102, ptr %10, align 8 %103 = load ptr, ptr %5, align 8 %104 = getelementptr inbounds double, ptr %103, i64 2 %105 = load double, ptr %104, align 8 %106 = load ptr, ptr %5, align 8 %107 = getelementptr inbounds double, ptr %106, i64 2 %108 = load double, ptr %107, align 8 %109 = load ptr, ptr %5, align 8 %110 = getelementptr inbounds double, ptr %109, i64 3 %111 = load double, ptr %110, align 8 %112 = load ptr, ptr %5, align 8 %113 = getelementptr inbounds double, ptr %112, i64 3 %114 = load double, ptr %113, align 8 %115 = fmul double %111, %114 %116 = call double @llvm.fmuladd.f64(double %105, double %108, double %115) store double %116, ptr %11, align 8 %117 = load double, ptr %10, align 8 %118 = fmul double 2.000000e+00, %117 %119 = fptosi double %118 to i32 %120 = load double, ptr %9, align 8 %121 = load double, ptr %11, align 8 %122 = fsub double %120, %121 %123 = call double @atan2(i32 noundef %119, double noundef %122) %124 = fmul double 5.000000e-01, %123 store double %124, ptr %13, align 8 %125 = load double, ptr %13, align 8 %126 = call double @cos(double noundef %125) #4 store double %126, ptr %14, align 8 %127 = load double, ptr %13, align 8 %128 = call double @sin(double noundef %127) #4 store double %128, ptr %15, align 8 %129 = load double, ptr %14, align 8 %130 = load ptr, ptr %6, align 8 %131 = getelementptr inbounds double, ptr %130, i64 0 store double %129, ptr %131, align 8 %132 = load double, ptr %15, align 8 %133 = fneg double %132 %134 = load ptr, ptr %6, align 8 %135 = getelementptr inbounds double, ptr %134, i64 1 store double %133, ptr %135, align 8 %136 = load double, ptr %15, align 8 %137 = load ptr, ptr %6, align 8 %138 = getelementptr inbounds double, ptr %137, i64 2 store double %136, ptr %138, align 8 %139 = load double, ptr %14, align 8 %140 = load ptr, ptr %6, align 8 %141 = getelementptr inbounds double, ptr %140, i64 3 store double %139, ptr %141, align 8 %142 = load double, ptr %12, align 8 %143 = call double @cos(double noundef %142) #4 store double %143, ptr %16, align 8 %144 = load double, ptr %12, align 8 %145 = call double @sin(double noundef %144) #4 store double %145, ptr %17, align 8 %146 = load double, ptr %16, align 8 %147 = load ptr, ptr %8, align 8 %148 = getelementptr inbounds double, ptr %147, i64 0 store double %146, ptr %148, align 8 %149 = load double, ptr %17, align 8 %150 = fneg double %149 %151 = load ptr, ptr %8, align 8 %152 = getelementptr inbounds double, ptr %151, i64 1 store double %150, ptr %152, align 8 %153 = load double, ptr %17, align 8 %154 = load ptr, ptr %8, align 8 %155 = getelementptr inbounds double, ptr %154, i64 2 store double %153, ptr %155, align 8 %156 = load double, ptr %16, align 8 %157 = load ptr, ptr %8, align 8 %158 = getelementptr inbounds double, ptr %157, i64 3 store double %156, ptr %158, align 8 %159 = getelementptr inbounds [4 x double], ptr %18, i64 0, i64 0 %160 = load ptr, ptr %5, align 8 %161 = getelementptr inbounds double, ptr %160, i64 0 %162 = load double, ptr %161, align 8 %163 = load ptr, ptr %8, align 8 %164 = getelementptr inbounds double, ptr %163, i64 0 %165 = load double, ptr %164, align 8 %166 = load ptr, ptr %5, align 8 %167 = getelementptr inbounds double, ptr %166, i64 1 %168 = load double, ptr %167, align 8 %169 = load ptr, ptr %8, align 8 %170 = getelementptr inbounds double, ptr %169, i64 2 %171 = load double, ptr %170, align 8 %172 = fmul double %168, %171 %173 = call double @llvm.fmuladd.f64(double %162, double %165, double %172) store double %173, ptr %159, align 8 %174 = getelementptr inbounds double, ptr %159, i64 1 %175 = load ptr, ptr %5, align 8 %176 = getelementptr inbounds double, ptr %175, i64 0 %177 = load double, ptr %176, align 8 %178 = load ptr, ptr %8, align 8 %179 = getelementptr inbounds double, ptr %178, i64 1 %180 = load double, ptr %179, align 8 %181 = load ptr, ptr %5, align 8 %182 = getelementptr inbounds double, ptr %181, i64 1 %183 = load double, ptr %182, align 8 %184 = load ptr, ptr %8, align 8 %185 = getelementptr inbounds double, ptr %184, i64 3 %186 = load double, ptr %185, align 8 %187 = fmul double %183, %186 %188 = call double @llvm.fmuladd.f64(double %177, double %180, double %187) store double %188, ptr %174, align 8 %189 = getelementptr inbounds double, ptr %174, i64 1 %190 = load ptr, ptr %5, align 8 %191 = getelementptr inbounds double, ptr %190, i64 2 %192 = load double, ptr %191, align 8 %193 = load ptr, ptr %8, align 8 %194 = getelementptr inbounds double, ptr %193, i64 0 %195 = load double, ptr %194, align 8 %196 = load ptr, ptr %5, align 8 %197 = getelementptr inbounds double, ptr %196, i64 3 %198 = load double, ptr %197, align 8 %199 = load ptr, ptr %8, align 8 %200 = getelementptr inbounds double, ptr %199, i64 2 %201 = load double, ptr %200, align 8 %202 = fmul double %198, %201 %203 = call double @llvm.fmuladd.f64(double %192, double %195, double %202) store double %203, ptr %189, align 8 %204 = getelementptr inbounds double, ptr %189, i64 1 %205 = load ptr, ptr %5, align 8 %206 = getelementptr inbounds double, ptr %205, i64 2 %207 = load double, ptr %206, align 8 %208 = load ptr, ptr %8, align 8 %209 = getelementptr inbounds double, ptr %208, i64 1 %210 = load double, ptr %209, align 8 %211 = load ptr, ptr %5, align 8 %212 = getelementptr inbounds double, ptr %211, i64 3 %213 = load double, ptr %212, align 8 %214 = load ptr, ptr %8, align 8 %215 = getelementptr inbounds double, ptr %214, i64 3 %216 = load double, ptr %215, align 8 %217 = fmul double %213, %216 %218 = call double @llvm.fmuladd.f64(double %207, double %210, double %217) store double %218, ptr %204, align 8 %219 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 0 %220 = load ptr, ptr %6, align 8 %221 = getelementptr inbounds double, ptr %220, i64 0 %222 = load double, ptr %221, align 8 %223 = getelementptr inbounds [4 x double], ptr %18, i64 0, i64 0 %224 = load double, ptr %223, align 16 %225 = load ptr, ptr %6, align 8 %226 = getelementptr inbounds double, ptr %225, i64 2 %227 = load double, ptr %226, align 8 %228 = getelementptr inbounds [4 x double], ptr %18, i64 0, i64 2 %229 = load double, ptr %228, align 16 %230 = fmul double %227, %229 %231 = call double @llvm.fmuladd.f64(double %222, double %224, double %230) store double %231, ptr %219, align 8 %232 = getelementptr inbounds double, ptr %219, i64 1 %233 = load ptr, ptr %6, align 8 %234 = getelementptr inbounds double, ptr %233, i64 0 %235 = load double, ptr %234, align 8 %236 = getelementptr inbounds [4 x double], ptr %18, i64 0, i64 1 %237 = load double, ptr %236, align 8 %238 = load ptr, ptr %6, align 8 %239 = getelementptr inbounds double, ptr %238, i64 2 %240 = load double, ptr %239, align 8 %241 = getelementptr inbounds [4 x double], ptr %18, i64 0, i64 3 %242 = load double, ptr %241, align 8 %243 = fmul double %240, %242 %244 = call double @llvm.fmuladd.f64(double %235, double %237, double %243) store double %244, ptr %232, align 8 %245 = getelementptr inbounds double, ptr %232, i64 1 %246 = load ptr, ptr %6, align 8 %247 = getelementptr inbounds double, ptr %246, i64 1 %248 = load double, ptr %247, align 8 %249 = getelementptr inbounds [4 x double], ptr %18, i64 0, i64 0 %250 = load double, ptr %249, align 16 %251 = load ptr, ptr %6, align 8 %252 = getelementptr inbounds double, ptr %251, i64 3 %253 = load double, ptr %252, align 8 %254 = getelementptr inbounds [4 x double], ptr %18, i64 0, i64 2 %255 = load double, ptr %254, align 16 %256 = fmul double %253, %255 %257 = call double @llvm.fmuladd.f64(double %248, double %250, double %256) store double %257, ptr %245, align 8 %258 = getelementptr inbounds double, ptr %245, i64 1 %259 = load ptr, ptr %6, align 8 %260 = getelementptr inbounds double, ptr %259, i64 1 %261 = load double, ptr %260, align 8 %262 = getelementptr inbounds [4 x double], ptr %18, i64 0, i64 1 %263 = load double, ptr %262, align 8 %264 = load ptr, ptr %6, align 8 %265 = getelementptr inbounds double, ptr %264, i64 3 %266 = load double, ptr %265, align 8 %267 = getelementptr inbounds [4 x double], ptr %18, i64 0, i64 3 %268 = load double, ptr %267, align 8 %269 = fmul double %266, %268 %270 = call double @llvm.fmuladd.f64(double %261, double %263, double %269) store double %270, ptr %258, align 8 %271 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 0 %272 = load double, ptr %271, align 16 %273 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 0 %274 = load double, ptr %273, align 16 %275 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 1 %276 = load double, ptr %275, align 8 %277 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 1 %278 = load double, ptr %277, align 8 %279 = fmul double %276, %278 %280 = call double @llvm.fmuladd.f64(double %272, double %274, double %279) %281 = call double @sqrtf(double noundef %280) %282 = load ptr, ptr %7, align 8 %283 = getelementptr inbounds double, ptr %282, i64 0 store double %281, ptr %283, align 8 %284 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 2 %285 = load double, ptr %284, align 16 %286 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 2 %287 = load double, ptr %286, align 16 %288 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 3 %289 = load double, ptr %288, align 8 %290 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 3 %291 = load double, ptr %290, align 8 %292 = fmul double %289, %291 %293 = call double @llvm.fmuladd.f64(double %285, double %287, double %292) %294 = call double @sqrtf(double noundef %293) %295 = load ptr, ptr %7, align 8 %296 = getelementptr inbounds double, ptr %295, i64 1 store double %294, ptr %296, align 8 store double 0x3EB0C6F7A0B5ED8D, ptr %20, align 8 %297 = load ptr, ptr %7, align 8 %298 = getelementptr inbounds double, ptr %297, i64 0 %299 = load double, ptr %298, align 8 %300 = load double, ptr %20, align 8 %301 = fcmp ogt double %299, %300 br i1 %301, label %302, label %317 302: ; preds = %4 %303 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 0 %304 = load double, ptr %303, align 16 %305 = load ptr, ptr %7, align 8 %306 = getelementptr inbounds double, ptr %305, i64 0 %307 = load double, ptr %306, align 8 %308 = fdiv double %304, %307 %309 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 0 store double %308, ptr %309, align 16 %310 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 2 %311 = load double, ptr %310, align 16 %312 = load ptr, ptr %7, align 8 %313 = getelementptr inbounds double, ptr %312, i64 0 %314 = load double, ptr %313, align 8 %315 = fdiv double %311, %314 %316 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 2 store double %315, ptr %316, align 16 br label %320 317: ; preds = %4 %318 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 0 store double 1.000000e+00, ptr %318, align 16 %319 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 2 store double 0.000000e+00, ptr %319, align 16 br label %320 320: ; preds = %317, %302 %321 = load ptr, ptr %7, align 8 %322 = getelementptr inbounds double, ptr %321, i64 1 %323 = load double, ptr %322, align 8 %324 = load double, ptr %20, align 8 %325 = fcmp ogt double %323, %324 br i1 %325, label %326, label %341 326: ; preds = %320 %327 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 1 %328 = load double, ptr %327, align 8 %329 = load ptr, ptr %7, align 8 %330 = getelementptr inbounds double, ptr %329, i64 1 %331 = load double, ptr %330, align 8 %332 = fdiv double %328, %331 %333 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 1 store double %332, ptr %333, align 8 %334 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 3 %335 = load double, ptr %334, align 8 %336 = load ptr, ptr %7, align 8 %337 = getelementptr inbounds double, ptr %336, i64 1 %338 = load double, ptr %337, align 8 %339 = fdiv double %335, %338 %340 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 3 store double %339, ptr %340, align 8 br label %344 341: ; preds = %320 %342 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 1 store double 0.000000e+00, ptr %342, align 8 %343 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 3 store double 1.000000e+00, ptr %343, align 8 br label %344 344: ; preds = %341, %326 %345 = getelementptr inbounds [4 x double], ptr %22, i64 0, i64 0 %346 = load ptr, ptr %6, align 8 %347 = getelementptr inbounds double, ptr %346, i64 0 %348 = load double, ptr %347, align 8 %349 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 0 %350 = load double, ptr %349, align 16 %351 = load ptr, ptr %6, align 8 %352 = getelementptr inbounds double, ptr %351, i64 1 %353 = load double, ptr %352, align 8 %354 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 2 %355 = load double, ptr %354, align 16 %356 = fmul double %353, %355 %357 = call double @llvm.fmuladd.f64(double %348, double %350, double %356) store double %357, ptr %345, align 8 %358 = getelementptr inbounds double, ptr %345, i64 1 %359 = load ptr, ptr %6, align 8 %360 = getelementptr inbounds double, ptr %359, i64 0 %361 = load double, ptr %360, align 8 %362 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 1 %363 = load double, ptr %362, align 8 %364 = load ptr, ptr %6, align 8 %365 = getelementptr inbounds double, ptr %364, i64 1 %366 = load double, ptr %365, align 8 %367 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 3 %368 = load double, ptr %367, align 8 %369 = fmul double %366, %368 %370 = call double @llvm.fmuladd.f64(double %361, double %363, double %369) store double %370, ptr %358, align 8 %371 = getelementptr inbounds double, ptr %358, i64 1 %372 = load ptr, ptr %6, align 8 %373 = getelementptr inbounds double, ptr %372, i64 2 %374 = load double, ptr %373, align 8 %375 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 0 %376 = load double, ptr %375, align 16 %377 = load ptr, ptr %6, align 8 %378 = getelementptr inbounds double, ptr %377, i64 3 %379 = load double, ptr %378, align 8 %380 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 2 %381 = load double, ptr %380, align 16 %382 = fmul double %379, %381 %383 = call double @llvm.fmuladd.f64(double %374, double %376, double %382) store double %383, ptr %371, align 8 %384 = getelementptr inbounds double, ptr %371, i64 1 %385 = load ptr, ptr %6, align 8 %386 = getelementptr inbounds double, ptr %385, i64 2 %387 = load double, ptr %386, align 8 %388 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 1 %389 = load double, ptr %388, align 8 %390 = load ptr, ptr %6, align 8 %391 = getelementptr inbounds double, ptr %390, i64 3 %392 = load double, ptr %391, align 8 %393 = getelementptr inbounds [4 x double], ptr %21, i64 0, i64 3 %394 = load double, ptr %393, align 8 %395 = fmul double %392, %394 %396 = call double @llvm.fmuladd.f64(double %387, double %389, double %395) store double %396, ptr %384, align 8 %397 = load ptr, ptr %6, align 8 %398 = getelementptr inbounds [4 x double], ptr %22, i64 0, i64 0 %399 = call i32 @memcpy(ptr noundef %397, ptr noundef %398, i32 noundef 32) %400 = load ptr, ptr %7, align 8 %401 = getelementptr inbounds double, ptr %400, i64 0 %402 = load double, ptr %401, align 8 %403 = fcmp oge double %402, 0.000000e+00 %404 = zext i1 %403 to i32 %405 = call i32 @assert(i32 noundef %404) %406 = load ptr, ptr %7, align 8 %407 = getelementptr inbounds double, ptr %406, i64 1 %408 = load double, ptr %407, align 8 %409 = fcmp oge double %408, 0.000000e+00 %410 = zext i1 %409 to i32 %411 = call i32 @assert(i32 noundef %410) %412 = load ptr, ptr %7, align 8 %413 = getelementptr inbounds double, ptr %412, i64 1 %414 = load double, ptr %413, align 8 %415 = call i64 @fabs(double noundef %414) %416 = load ptr, ptr %7, align 8 %417 = getelementptr inbounds double, ptr %416, i64 0 %418 = load double, ptr %417, align 8 %419 = call i64 @fabs(double noundef %418) %420 = icmp sgt i64 %415, %419 br i1 %420, label %421, label %485 421: ; preds = %344 %422 = load ptr, ptr %7, align 8 %423 = getelementptr inbounds double, ptr %422, i64 0 %424 = load double, ptr %423, align 8 store double %424, ptr %23, align 8 %425 = load ptr, ptr %7, align 8 %426 = getelementptr inbounds double, ptr %425, i64 1 %427 = load double, ptr %426, align 8 %428 = load ptr, ptr %7, align 8 %429 = getelementptr inbounds double, ptr %428, i64 0 store double %427, ptr %429, align 8 %430 = load double, ptr %23, align 8 %431 = load ptr, ptr %7, align 8 %432 = getelementptr inbounds double, ptr %431, i64 1 store double %430, ptr %432, align 8 %433 = load ptr, ptr %6, align 8 %434 = getelementptr inbounds double, ptr %433, i64 0 %435 = load double, ptr %434, align 8 %436 = getelementptr inbounds [2 x double], ptr %24, i64 0, i64 0 store double %435, ptr %436, align 16 %437 = load ptr, ptr %6, align 8 %438 = getelementptr inbounds double, ptr %437, i64 2 %439 = load double, ptr %438, align 8 %440 = getelementptr inbounds [2 x double], ptr %24, i64 0, i64 1 store double %439, ptr %440, align 8 %441 = load ptr, ptr %6, align 8 %442 = getelementptr inbounds double, ptr %441, i64 1 %443 = load double, ptr %442, align 8 %444 = load ptr, ptr %6, align 8 %445 = getelementptr inbounds double, ptr %444, i64 0 store double %443, ptr %445, align 8 %446 = load ptr, ptr %6, align 8 %447 = getelementptr inbounds double, ptr %446, i64 3 %448 = load double, ptr %447, align 8 %449 = load ptr, ptr %6, align 8 %450 = getelementptr inbounds double, ptr %449, i64 2 store double %448, ptr %450, align 8 %451 = getelementptr inbounds [2 x double], ptr %24, i64 0, i64 0 %452 = load double, ptr %451, align 16 %453 = load ptr, ptr %6, align 8 %454 = getelementptr inbounds double, ptr %453, i64 1 store double %452, ptr %454, align 8 %455 = getelementptr inbounds [2 x double], ptr %24, i64 0, i64 1 %456 = load double, ptr %455, align 8 %457 = load ptr, ptr %6, align 8 %458 = getelementptr inbounds double, ptr %457, i64 3 store double %456, ptr %458, align 8 %459 = load ptr, ptr %8, align 8 %460 = getelementptr inbounds double, ptr %459, i64 0 %461 = load double, ptr %460, align 8 %462 = getelementptr inbounds [2 x double], ptr %24, i64 0, i64 0 store double %461, ptr %462, align 16 %463 = load ptr, ptr %8, align 8 %464 = getelementptr inbounds double, ptr %463, i64 2 %465 = load double, ptr %464, align 8 %466 = getelementptr inbounds [2 x double], ptr %24, i64 0, i64 1 store double %465, ptr %466, align 8 %467 = load ptr, ptr %8, align 8 %468 = getelementptr inbounds double, ptr %467, i64 1 %469 = load double, ptr %468, align 8 %470 = load ptr, ptr %8, align 8 %471 = getelementptr inbounds double, ptr %470, i64 0 store double %469, ptr %471, align 8 %472 = load ptr, ptr %8, align 8 %473 = getelementptr inbounds double, ptr %472, i64 3 %474 = load double, ptr %473, align 8 %475 = load ptr, ptr %8, align 8 %476 = getelementptr inbounds double, ptr %475, i64 2 store double %474, ptr %476, align 8 %477 = getelementptr inbounds [2 x double], ptr %24, i64 0, i64 0 %478 = load double, ptr %477, align 16 %479 = load ptr, ptr %8, align 8 %480 = getelementptr inbounds double, ptr %479, i64 1 store double %478, ptr %480, align 8 %481 = getelementptr inbounds [2 x double], ptr %24, i64 0, i64 1 %482 = load double, ptr %481, align 8 %483 = load ptr, ptr %8, align 8 %484 = getelementptr inbounds double, ptr %483, i64 3 store double %482, ptr %484, align 8 br label %485 485: ; preds = %421, %344 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare double @atan2(i32 noundef, double noundef) #2 ; Function Attrs: nounwind declare double @cos(double noundef) #3 ; Function Attrs: nounwind declare double @sin(double noundef) #3 declare double @sqrtf(double noundef) #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @assert(i32 noundef) #2 declare i64 @fabs(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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"}
; ModuleID = '/tmp/tmpo7iylqua.c' source_filename = "/tmp/tmpo7iylqua.c" target datalayout = "e-m:e-p270: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/tmpo7iylqua.c" target datalayout = "e-m:e-p270: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/tmp2exc169s.c' source_filename = "/tmp/tmp2exc169s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [63 x i8] c"# This is the distribution table for the normal distribution.\0A\00", align 1 @NETEM_DIST_SCALE = dso_local global double 0.000000e+00, align 8 @SHRT_MIN = dso_local global i32 0, align 4 @SHRT_MAX = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c" %d\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 double, align 8 %9 = alloca [16385 x double], align 16 %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 store double -1.000000e+01, ptr %8, align 8 br label %11 11: ; preds = %24, %2 %12 = load double, ptr %8, align 8 %13 = fcmp olt double %12, 1.005000e+01 br i1 %13, label %14, label %27 14: ; preds = %11 %15 = load double, ptr %8, align 8 %16 = call i32 @normal(double noundef %15, double noundef 0.000000e+00, double noundef 1.000000e+00) %17 = mul nsw i32 16384, %16 %18 = sitofp i32 %17 to double %19 = call i32 @rint(double noundef %18) store i32 %19, ptr %6, align 4 %20 = load double, ptr %8, align 8 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [16385 x double], ptr %9, i64 0, i64 %22 store double %20, ptr %23, align 8 br label %24 24: ; preds = %14 %25 = load double, ptr %8, align 8 %26 = fadd double %25, 5.000000e-05 store double %26, ptr %8, align 8 br label %11, !llvm.loop !6 27: ; preds = %11 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %7, align 4 store i32 0, ptr %6, align 4 br label %29 29: ; preds = %60, %27 %30 = load i32, ptr %6, align 4 %31 = icmp slt i32 %30, 16384 br i1 %31, label %32, label %63 32: ; preds = %29 %33 = load i32, ptr %6, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [16385 x double], ptr %9, i64 0, i64 %34 %36 = load double, ptr %35, align 8 %37 = load double, ptr @NETEM_DIST_SCALE, align 8 %38 = fmul double %36, %37 %39 = call i32 @rint(double noundef %38) store i32 %39, ptr %10, align 4 %40 = load i32, ptr %10, align 4 %41 = load i32, ptr @SHRT_MIN, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %43, label %45 43: ; preds = %32 %44 = load i32, ptr @SHRT_MIN, align 4 store i32 %44, ptr %10, align 4 br label %45 45: ; preds = %43, %32 %46 = load i32, ptr %10, align 4 %47 = load i32, ptr @SHRT_MAX, align 4 %48 = icmp sgt i32 %46, %47 br i1 %48, label %49, label %51 49: ; preds = %45 %50 = load i32, ptr @SHRT_MAX, align 4 store i32 %50, ptr %10, align 4 br label %51 51: ; preds = %49, %45 %52 = load i32, ptr %10, align 4 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %52) %54 = load i32, ptr %7, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %7, align 4 %56 = icmp eq i32 %55, 8 br i1 %56, label %57, label %59 57: ; preds = %51 %58 = call i32 @putchar(i8 noundef signext 10) store i32 0, ptr %7, align 4 br label %59 59: ; preds = %57, %51 br label %60 60: ; preds = %59 %61 = load i32, ptr %6, align 4 %62 = add nsw i32 %61, 4 store i32 %62, ptr %6, align 4 br label %29, !llvm.loop !8 63: ; preds = %29 ret i32 0 } declare i32 @rint(double noundef) #1 declare i32 @normal(double noundef, double noundef, double noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2exc169s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [63 x i8] c"# This is the distribution table for the normal distribution.\0A\00", align 1 @NETEM_DIST_SCALE = dso_local global double 0.000000e+00, align 8 @SHRT_MIN = dso_local global i32 0, align 4 @SHRT_MAX = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c" %d\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 double, align 8 %9 = alloca [16385 x double], align 16 %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 store double -1.000000e+01, ptr %8, align 8 %11 = load double, ptr %8, align 8 %12 = fcmp olt double %11, 1.005000e+01 br i1 %12, label %.lr.ph, label %28 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %23 %14 = load double, ptr %8, align 8 %15 = call i32 @normal(double noundef %14, double noundef 0.000000e+00, double noundef 1.000000e+00) %16 = mul nsw i32 16384, %15 %17 = sitofp i32 %16 to double %18 = call i32 @rint(double noundef %17) store i32 %18, ptr %6, align 4 %19 = load double, ptr %8, align 8 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [16385 x double], ptr %9, i64 0, i64 %21 store double %19, ptr %22, align 8 br label %23 23: ; preds = %13 %24 = load double, ptr %8, align 8 %25 = fadd double %24, 5.000000e-05 store double %25, ptr %8, align 8 %26 = load double, ptr %8, align 8 %27 = fcmp olt double %26, 1.005000e+01 br i1 %27, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %28 28: ; preds = %._crit_edge, %2 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %7, align 4 store i32 0, ptr %6, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp slt i32 %30, 16384 br i1 %31, label %.lr.ph2, label %65 .lr.ph2: ; preds = %28 br label %32 32: ; preds = %.lr.ph2, %60 %33 = load i32, ptr %6, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [16385 x double], ptr %9, i64 0, i64 %34 %36 = load double, ptr %35, align 8 %37 = load double, ptr @NETEM_DIST_SCALE, align 8 %38 = fmul double %36, %37 %39 = call i32 @rint(double noundef %38) store i32 %39, ptr %10, align 4 %40 = load i32, ptr %10, align 4 %41 = load i32, ptr @SHRT_MIN, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %43, label %45 43: ; preds = %32 %44 = load i32, ptr @SHRT_MIN, align 4 store i32 %44, ptr %10, align 4 br label %45 45: ; preds = %43, %32 %46 = load i32, ptr %10, align 4 %47 = load i32, ptr @SHRT_MAX, align 4 %48 = icmp sgt i32 %46, %47 br i1 %48, label %49, label %51 49: ; preds = %45 %50 = load i32, ptr @SHRT_MAX, align 4 store i32 %50, ptr %10, align 4 br label %51 51: ; preds = %49, %45 %52 = load i32, ptr %10, align 4 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %52) %54 = load i32, ptr %7, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %7, align 4 %56 = icmp eq i32 %55, 8 br i1 %56, label %57, label %59 57: ; preds = %51 %58 = call i32 @putchar(i8 noundef signext 10) store i32 0, ptr %7, align 4 br label %59 59: ; preds = %57, %51 br label %60 60: ; preds = %59 %61 = load i32, ptr %6, align 4 %62 = add nsw i32 %61, 4 store i32 %62, ptr %6, align 4 %63 = load i32, ptr %6, align 4 %64 = icmp slt i32 %63, 16384 br i1 %64, label %32, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %60 br label %65 65: ; preds = %._crit_edge3, %28 ret i32 0 } declare i32 @rint(double noundef) #1 declare i32 @normal(double noundef, double noundef, double noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp8nt_xis8.c' source_filename = "/tmp/tmp8nt_xis8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%2d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 br label %4 4: ; preds = %18, %0 %5 = load i32, ptr %2, align 4 %6 = icmp sle i32 %5, 100 br i1 %6, label %7, label %21 7: ; preds = %4 %8 = call i32 (...) @rand() %9 = srem i32 %8, 100 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10) %12 = load i32, ptr %2, align 4 %13 = srem i32 %12, 10 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %7 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %17 17: ; preds = %15, %7 br label %18 18: ; preds = %17 %19 = load i32, ptr %2, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %2, align 4 br label %4, !llvm.loop !6 21: ; preds = %4 ret i32 0 } declare i32 @rand(...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8nt_xis8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%2d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp sle i32 %4, 100 br i1 %5, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %17 %7 = call i32 (...) @rand() %8 = srem i32 %7, 100 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9) %11 = load i32, ptr %2, align 4 %12 = srem i32 %11, 10 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %6 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %16 16: ; preds = %14, %6 br label %17 17: ; preds = %16 %18 = load i32, ptr %2, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %2, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp sle i32 %20, 100 br i1 %21, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @rand(...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpu5z608iq.c' source_filename = "/tmp/tmpu5z608iq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello, world\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 1 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu5z608iq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello, world\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 1 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfj111mbc.c' source_filename = "/tmp/tmpfj111mbc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @forloop() %7 = call i32 @dowhileloop(i32 noundef 0) %8 = call i32 @whileloop(i32 noundef 0) ret i32 0 } declare i32 @forloop(...) #1 declare i32 @dowhileloop(i32 noundef) #1 declare i32 @whileloop(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/tmpfj111mbc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @forloop() %7 = call i32 @dowhileloop(i32 noundef 0) %8 = call i32 @whileloop(i32 noundef 0) ret i32 0 } declare i32 @forloop(...) #1 declare i32 @dowhileloop(i32 noundef) #1 declare i32 @whileloop(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/tmpofym1sry.c' source_filename = "/tmp/tmpofym1sry.c" target datalayout = "e-m:e-p270: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/tmpofym1sry.c" target datalayout = "e-m:e-p270: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/tmpsz0ecgox.c' source_filename = "/tmp/tmpsz0ecgox.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"regs: %x %x %x %x %x %x %x (%x)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printregs(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store i32 %0, ptr %9, align 4 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store i32 %5, ptr %14, align 4 store i32 %6, ptr %15, align 4 store i32 %7, ptr %16, align 4 %17 = load i32, ptr %16, align 4 %18 = load i32, ptr %13, align 4 %19 = load i32, ptr %15, align 4 %20 = load i32, ptr %14, align 4 %21 = load i32, ptr %11, align 4 %22 = load i32, ptr %10, align 4 %23 = load i32, ptr %9, align 4 %24 = getelementptr inbounds i32, ptr %9, i64 -1 %25 = load i32, ptr %24, align 4 %26 = call i32 @printf(ptr noundef @.str, i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef %25) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsz0ecgox.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"regs: %x %x %x %x %x %x %x (%x)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printregs(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store i32 %0, ptr %9, align 4 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store i32 %5, ptr %14, align 4 store i32 %6, ptr %15, align 4 store i32 %7, ptr %16, align 4 %17 = load i32, ptr %16, align 4 %18 = load i32, ptr %13, align 4 %19 = load i32, ptr %15, align 4 %20 = load i32, ptr %14, align 4 %21 = load i32, ptr %11, align 4 %22 = load i32, ptr %10, align 4 %23 = load i32, ptr %9, align 4 %24 = getelementptr inbounds i32, ptr %9, i64 -1 %25 = load i32, ptr %24, align 4 %26 = call i32 @printf(ptr noundef @.str, i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef %25) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 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"}
; ModuleID = '/tmp/tmp39rzkytu.c' source_filename = "/tmp/tmp39rzkytu.c" target datalayout = "e-m:e-p270: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/tmp39rzkytu.c" target datalayout = "e-m:e-p270: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/tmp80zfu8c7.c' source_filename = "/tmp/tmp80zfu8c7.c" target datalayout = "e-m:e-p270: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/tmp80zfu8c7.c" target datalayout = "e-m:e-p270: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/tmpd7_61uby.c' source_filename = "/tmp/tmpd7_61uby.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func() #0 { %1 = call i32 (...) @duplicate_func() ret i32 %1 } declare i32 @duplicate_func(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd7_61uby.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func() #0 { %1 = call i32 (...) @duplicate_func() ret i32 %1 } declare i32 @duplicate_func(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4d_vb4ln.c' source_filename = "/tmp/tmp4d_vb4ln.c" target datalayout = "e-m:e-p270: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/tmp4d_vb4ln.c" target datalayout = "e-m:e-p270: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/tmpfnql_z1t.c' source_filename = "/tmp/tmpfnql_z1t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @UCHAR_MAX = dso_local global i64 0, align 8 @INT_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @strcasecmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i8, align 1 %9 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %5, align 8 %12 = icmp eq ptr %10, %11 br i1 %12, label %13, label %14 13: ; preds = %2 store i32 0, ptr %3, align 4 br label %92 14: ; preds = %2 %15 = load ptr, ptr %4, align 8 store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %5, align 8 store ptr %16, ptr %7, align 8 br label %17 17: ; preds = %59, %14 %18 = load ptr, ptr %6, align 8 %19 = load i8, ptr %18, align 1 %20 = call i64 @isupper(i8 noundef zeroext %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %27 22: ; preds = %17 %23 = load ptr, ptr %6, align 8 %24 = load i8, ptr %23, align 1 %25 = call zeroext i8 @tolower(i8 noundef zeroext %24) %26 = zext i8 %25 to i32 br label %31 27: ; preds = %17 %28 = load ptr, ptr %6, align 8 %29 = load i8, ptr %28, align 1 %30 = zext i8 %29 to i32 br label %31 31: ; preds = %27, %22 %32 = phi i32 [ %26, %22 ], [ %30, %27 ] %33 = trunc i32 %32 to i8 store i8 %33, ptr %8, align 1 %34 = load ptr, ptr %7, align 8 %35 = load i8, ptr %34, align 1 %36 = call i64 @isupper(i8 noundef zeroext %35) %37 = icmp ne i64 %36, 0 br i1 %37, label %38, label %43 38: ; preds = %31 %39 = load ptr, ptr %7, align 8 %40 = load i8, ptr %39, align 1 %41 = call zeroext i8 @tolower(i8 noundef zeroext %40) %42 = zext i8 %41 to i32 br label %47 43: ; preds = %31 %44 = load ptr, ptr %7, align 8 %45 = load i8, ptr %44, align 1 %46 = zext i8 %45 to i32 br label %47 47: ; preds = %43, %38 %48 = phi i32 [ %42, %38 ], [ %46, %43 ] %49 = trunc i32 %48 to i8 store i8 %49, ptr %9, align 1 %50 = load i8, ptr %8, align 1 %51 = zext i8 %50 to i32 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %54 53: ; preds = %47 br label %65 54: ; preds = %47 %55 = load ptr, ptr %6, align 8 %56 = getelementptr inbounds i8, ptr %55, i32 1 store ptr %56, ptr %6, align 8 %57 = load ptr, ptr %7, align 8 %58 = getelementptr inbounds i8, ptr %57, i32 1 store ptr %58, ptr %7, align 8 br label %59 59: ; preds = %54 %60 = load i8, ptr %8, align 1 %61 = zext i8 %60 to i32 %62 = load i8, ptr %9, align 1 %63 = zext i8 %62 to i32 %64 = icmp eq i32 %61, %63 br i1 %64, label %17, label %65, !llvm.loop !6 65: ; preds = %59, %53 %66 = load i64, ptr @UCHAR_MAX, align 8 %67 = load i64, ptr @INT_MAX, align 8 %68 = icmp sle i64 %66, %67 br i1 %68, label %69, label %75 69: ; preds = %65 %70 = load i8, ptr %8, align 1 %71 = zext i8 %70 to i32 %72 = load i8, ptr %9, align 1 %73 = zext i8 %72 to i32 %74 = sub nsw i32 %71, %73 store i32 %74, ptr %3, align 4 br label %92 75: ; preds = %65 %76 = load i8, ptr %8, align 1 %77 = zext i8 %76 to i32 %78 = load i8, ptr %9, align 1 %79 = zext i8 %78 to i32 %80 = icmp sgt i32 %77, %79 br i1 %80, label %81, label %82 81: ; preds = %75 br label %90 82: ; preds = %75 %83 = load i8, ptr %8, align 1 %84 = zext i8 %83 to i32 %85 = load i8, ptr %9, align 1 %86 = zext i8 %85 to i32 %87 = icmp slt i32 %84, %86 %88 = zext i1 %87 to i64 %89 = select i1 %87, i32 -1, i32 0 br label %90 90: ; preds = %82, %81 %91 = phi i32 [ 1, %81 ], [ %89, %82 ] store i32 %91, ptr %3, align 4 br label %92 92: ; preds = %90, %69, %13 %93 = load i32, ptr %3, align 4 ret i32 %93 } declare i64 @isupper(i8 noundef zeroext) #1 declare zeroext i8 @tolower(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/tmpfnql_z1t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @UCHAR_MAX = dso_local global i64 0, align 8 @INT_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @strcasecmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i8, align 1 %9 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %5, align 8 %12 = icmp eq ptr %10, %11 br i1 %12, label %13, label %14 13: ; preds = %2 store i32 0, ptr %3, align 4 br label %92 14: ; preds = %2 %15 = load ptr, ptr %4, align 8 store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %5, align 8 store ptr %16, ptr %7, align 8 br label %17 17: ; preds = %59, %14 %18 = load ptr, ptr %6, align 8 %19 = load i8, ptr %18, align 1 %20 = call i64 @isupper(i8 noundef zeroext %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %27 22: ; preds = %17 %23 = load ptr, ptr %6, align 8 %24 = load i8, ptr %23, align 1 %25 = call zeroext i8 @tolower(i8 noundef zeroext %24) %26 = zext i8 %25 to i32 br label %31 27: ; preds = %17 %28 = load ptr, ptr %6, align 8 %29 = load i8, ptr %28, align 1 %30 = zext i8 %29 to i32 br label %31 31: ; preds = %27, %22 %32 = phi i32 [ %26, %22 ], [ %30, %27 ] %33 = trunc i32 %32 to i8 store i8 %33, ptr %8, align 1 %34 = load ptr, ptr %7, align 8 %35 = load i8, ptr %34, align 1 %36 = call i64 @isupper(i8 noundef zeroext %35) %37 = icmp ne i64 %36, 0 br i1 %37, label %38, label %43 38: ; preds = %31 %39 = load ptr, ptr %7, align 8 %40 = load i8, ptr %39, align 1 %41 = call zeroext i8 @tolower(i8 noundef zeroext %40) %42 = zext i8 %41 to i32 br label %47 43: ; preds = %31 %44 = load ptr, ptr %7, align 8 %45 = load i8, ptr %44, align 1 %46 = zext i8 %45 to i32 br label %47 47: ; preds = %43, %38 %48 = phi i32 [ %42, %38 ], [ %46, %43 ] %49 = trunc i32 %48 to i8 store i8 %49, ptr %9, align 1 %50 = load i8, ptr %8, align 1 %51 = zext i8 %50 to i32 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %54 53: ; preds = %47 br label %65 54: ; preds = %47 %55 = load ptr, ptr %6, align 8 %56 = getelementptr inbounds i8, ptr %55, i32 1 store ptr %56, ptr %6, align 8 %57 = load ptr, ptr %7, align 8 %58 = getelementptr inbounds i8, ptr %57, i32 1 store ptr %58, ptr %7, align 8 br label %59 59: ; preds = %54 %60 = load i8, ptr %8, align 1 %61 = zext i8 %60 to i32 %62 = load i8, ptr %9, align 1 %63 = zext i8 %62 to i32 %64 = icmp eq i32 %61, %63 br i1 %64, label %17, label %.loopexit, !llvm.loop !6 .loopexit: ; preds = %59 br label %65 65: ; preds = %.loopexit, %53 %66 = load i64, ptr @UCHAR_MAX, align 8 %67 = load i64, ptr @INT_MAX, align 8 %68 = icmp sle i64 %66, %67 br i1 %68, label %69, label %75 69: ; preds = %65 %70 = load i8, ptr %8, align 1 %71 = zext i8 %70 to i32 %72 = load i8, ptr %9, align 1 %73 = zext i8 %72 to i32 %74 = sub nsw i32 %71, %73 store i32 %74, ptr %3, align 4 br label %92 75: ; preds = %65 %76 = load i8, ptr %8, align 1 %77 = zext i8 %76 to i32 %78 = load i8, ptr %9, align 1 %79 = zext i8 %78 to i32 %80 = icmp sgt i32 %77, %79 br i1 %80, label %81, label %82 81: ; preds = %75 br label %90 82: ; preds = %75 %83 = load i8, ptr %8, align 1 %84 = zext i8 %83 to i32 %85 = load i8, ptr %9, align 1 %86 = zext i8 %85 to i32 %87 = icmp slt i32 %84, %86 %88 = zext i1 %87 to i64 %89 = select i1 %87, i32 -1, i32 0 br label %90 90: ; preds = %82, %81 %91 = phi i32 [ 1, %81 ], [ %89, %82 ] store i32 %91, ptr %3, align 4 br label %92 92: ; preds = %90, %69, %13 %93 = load i32, ptr %3, align 4 ret i32 %93 } declare i64 @isupper(i8 noundef zeroext) #1 declare zeroext i8 @tolower(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"}