brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.8 KiB · 1c8be82 Raw
83 lines · plain
1target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"2target triple = "x86_64-unknown-linux-gnu"3 4$__llvm_profile_filename = comdat any5$__llvm_profile_raw_version = comdat any6$__llvm_profile_sampling = comdat any7 8@odd = common dso_local local_unnamed_addr global i32 0, align 49@even = common dso_local local_unnamed_addr global i32 0, align 410@__llvm_profile_filename = local_unnamed_addr constant [25 x i8] c"pass2/default_%m.profraw\00", comdat11@__llvm_profile_raw_version = local_unnamed_addr constant i64 216172782113783812, comdat12@__llvm_profile_sampling = thread_local global i16 0, comdat13@llvm.used = appending global [1 x i8*] [i8* bitcast (i64* @__llvm_profile_sampling to i8*)], section "llvm.metadata"14 15define dso_local void @bar(i32 %n) !prof !30 {16entry:17  %call = tail call fastcc i32 @cond(i32 %n)18  %tobool = icmp eq i32 %call, 019  br i1 %tobool, label %if.else, label %if.then, !prof !3120 21if.then:22  %0 = load i32, i32* @odd, align 4, !tbaa !3223  %inc = add i32 %0, 124  store i32 %inc, i32* @odd, align 4, !tbaa !3225  br label %if.end26 27if.else:28  %1 = load i32, i32* @even, align 4, !tbaa !3229  %inc1 = add i32 %1, 130  store i32 %inc1, i32* @even, align 4, !tbaa !3231  br label %if.end32 33if.end:34  ret void35}36 37define internal fastcc i32 @cond(i32 %i) #1 !prof !30 !PGOFuncName !36 {38entry:39  %rem = srem i32 %i, 240  ret i32 %rem41}42 43attributes #1 = { inlinehint noinline }44 45!llvm.module.flags = !{!0, !1, !2}46 47!0 = !{i32 1, !"wchar_size", i32 4}48!1 = !{i32 1, !"EnableSplitLTOUnit", i32 0}49!2 = !{i32 1, !"ProfileSummary", !3}50!3 = !{!4, !5, !6, !7, !8, !9, !10, !11}51!4 = !{!"ProfileFormat", !"InstrProf"}52!5 = !{!"TotalCount", i64 500002}53!6 = !{!"MaxCount", i64 200000}54!7 = !{!"MaxInternalCount", i64 100000}55!8 = !{!"MaxFunctionCount", i64 200000}56!9 = !{!"NumCounts", i64 6}57!10 = !{!"NumFunctions", i64 4}58!11 = !{!"DetailedSummary", !12}59!12 = !{!13, !14, !15, !16, !17, !18, !19, !20, !21, !22, !23, !24, !25, !26, !27, !28}60!13 = !{i32 10000, i64 200000, i32 1}61!14 = !{i32 100000, i64 200000, i32 1}62!15 = !{i32 200000, i64 200000, i32 1}63!16 = !{i32 300000, i64 200000, i32 1}64!17 = !{i32 400000, i64 200000, i32 1}65!18 = !{i32 500000, i64 100000, i32 4}66!19 = !{i32 600000, i64 100000, i32 4}67!20 = !{i32 700000, i64 100000, i32 4}68!21 = !{i32 800000, i64 100000, i32 4}69!22 = !{i32 900000, i64 100000, i32 4}70!23 = !{i32 950000, i64 100000, i32 4}71!24 = !{i32 990000, i64 100000, i32 4}72!25 = !{i32 999000, i64 100000, i32 4}73!26 = !{i32 999900, i64 100000, i32 4}74!27 = !{i32 999990, i64 100000, i32 4}75!28 = !{i32 999999, i64 1, i32 6}76!30 = !{!"function_entry_count", i64 200000}77!31 = !{!"branch_weights", i32 100000, i32 100000}78!32 = !{!33, !33, i64 0}79!33 = !{!"int", !34, i64 0}80!34 = !{!"omnipotent char", !35, i64 0}81!35 = !{!"Simple C/C++ TBAA"}82!36 = !{!"cspgo_bar.c:cond"}83