CoolFace
Modelpublic

Aboudek/ASM_TO_LLVM_V2

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
extr_interface.c_do_delete_msg.ll59 linesDownload Raw Back to tg
1; ModuleID = 'tg/extr_interface.c_do_delete_msg.c'2source_filename = "tg/extr_interface.c_do_delete_msg.c"3target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"4target triple = "x86_64-unknown-linux-gnu"5 6%struct.in_ev = type { i32 }7%struct.arg = type { i32 }8 9@TLS = dso_local global i32 0, align 410@print_success_gw = dso_local global i32 0, align 411 12; Function Attrs: noinline nounwind optnone uwtable13define dso_local void @do_delete_msg(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {14  %5 = alloca ptr, align 815  %6 = alloca i32, align 416  %7 = alloca ptr, align 817  %8 = alloca ptr, align 818  store ptr %0, ptr %5, align 819  store i32 %1, ptr %6, align 420  store ptr %2, ptr %7, align 821  store ptr %3, ptr %8, align 822  %9 = load ptr, ptr %8, align 823  %10 = icmp ne ptr %9, null24  br i1 %10, label %11, label %1625 2611:                                               ; preds = %427  %12 = load ptr, ptr %8, align 828  %13 = getelementptr inbounds %struct.in_ev, ptr %12, i32 0, i32 029  %14 = load i32, ptr %13, align 430  %15 = add nsw i32 %14, 131  store i32 %15, ptr %13, align 432  br label %1633 3416:                                               ; preds = %11, %435  %17 = load i32, ptr @TLS, align 436  %18 = load ptr, ptr %7, align 837  %19 = getelementptr inbounds %struct.arg, ptr %18, i64 038  %20 = getelementptr inbounds %struct.arg, ptr %19, i32 0, i32 039  %21 = load i32, ptr @print_success_gw, align 440  %22 = load ptr, ptr %8, align 841  %23 = call i32 @tgl_do_delete_msg(i32 noundef %17, ptr noundef %20, i32 noundef %21, ptr noundef %22)42  ret void43}44 45declare i32 @tgl_do_delete_msg(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #146 47attributes #0 = { noinline nounwind optnone uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }48attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }49 50!llvm.module.flags = !{!0, !1, !2, !3, !4}51!llvm.ident = !{!5}52 53!0 = !{i32 1, !"wchar_size", i32 4}54!1 = !{i32 7, !"PIC Level", i32 2}55!2 = !{i32 7, !"PIE Level", i32 2}56!3 = !{i32 7, !"uwtable", i32 2}57!4 = !{i32 7, !"frame-pointer", i32 2}58!5 = !{!"clang version 15.0.3"}59