CoolFace
Modelpublic

Aboudek/ASM_TO_LLVM_V2

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
extr_interface.c_do_msg.ll88 linesDownload Raw Back to tg
1; ModuleID = 'tg/extr_interface.c_do_msg.c'2source_filename = "tg/extr_interface.c_do_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@E_DEBUG = dso_local global i32 0, align 410@.str = private unnamed_addr constant [25 x i8] c"reply_id=%d, disable=%d\0A\00", align 111@reply_id = dso_local global i32 0, align 412@disable_msg_preview = dso_local global i32 0, align 413@TLS = dso_local global i32 0, align 414@do_html = dso_local global i32 0, align 415@print_msg_success_gw = dso_local global i32 0, align 416 17; Function Attrs: noinline nounwind optnone uwtable18define dso_local void @do_msg(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {19  %5 = alloca ptr, align 820  %6 = alloca i32, align 421  %7 = alloca ptr, align 822  %8 = alloca ptr, align 823  store ptr %0, ptr %5, align 824  store i32 %1, ptr %6, align 425  store ptr %2, ptr %7, align 826  store ptr %3, ptr %8, align 827  %9 = load i32, ptr %6, align 428  %10 = icmp eq i32 %9, 229  %11 = zext i1 %10 to i3230  %12 = call i32 @assert(i32 noundef %11)31  %13 = load ptr, ptr %8, align 832  %14 = icmp ne ptr %13, null33  br i1 %14, label %15, label %2034 3515:                                               ; preds = %436  %16 = load ptr, ptr %8, align 837  %17 = getelementptr inbounds %struct.in_ev, ptr %16, i32 0, i32 038  %18 = load i32, ptr %17, align 439  %19 = add nsw i32 %18, 140  store i32 %19, ptr %17, align 441  br label %2042 4320:                                               ; preds = %15, %444  %21 = load i32, ptr @E_DEBUG, align 445  %22 = load i32, ptr @reply_id, align 446  %23 = load i32, ptr @disable_msg_preview, align 447  %24 = call i32 @vlogprintf(i32 noundef %21, ptr noundef @.str, i32 noundef %22, i32 noundef %23)48  %25 = load i32, ptr @TLS, align 449  %26 = load ptr, ptr %7, align 850  %27 = getelementptr inbounds %struct.arg, ptr %26, i64 051  %28 = getelementptr inbounds %struct.arg, ptr %27, i32 0, i32 052  %29 = load i32, ptr %28, align 453  %30 = call i32 @ARG2STR(i32 noundef 1)54  %31 = load i32, ptr @reply_id, align 455  %32 = call i32 @TGL_SEND_MSG_FLAG_REPLY(i32 noundef %31)56  %33 = load i32, ptr @disable_msg_preview, align 457  %34 = or i32 %32, %3358  %35 = load i32, ptr @do_html, align 459  %36 = or i32 %34, %3560  %37 = load i32, ptr @print_msg_success_gw, align 461  %38 = load ptr, ptr %8, align 862  %39 = call i32 @tgl_do_send_message(i32 noundef %25, i32 noundef %29, i32 noundef %30, i32 noundef %36, ptr noundef null, i32 noundef %37, ptr noundef %38)63  ret void64}65 66declare i32 @assert(i32 noundef) #167 68declare i32 @vlogprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #169 70declare i32 @tgl_do_send_message(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #171 72declare i32 @ARG2STR(i32 noundef) #173 74declare i32 @TGL_SEND_MSG_FLAG_REPLY(i32 noundef) #175 76attributes #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" }77attributes #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" }78 79!llvm.module.flags = !{!0, !1, !2, !3, !4}80!llvm.ident = !{!5}81 82!0 = !{i32 1, !"wchar_size", i32 4}83!1 = !{i32 7, !"PIC Level", i32 2}84!2 = !{i32 7, !"PIE Level", i32 2}85!3 = !{i32 7, !"uwtable", i32 2}86!4 = !{i32 7, !"frame-pointer", i32 2}87!5 = !{!"clang version 15.0.3"}88