1 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
2 target triple = "x86_64-unknown-linux-gnu"
4 $__llvm_profile_filename = comdat any
5 $__llvm_profile_raw_version = comdat any
6 $__llvm_profile_sampling = comdat any
8 @odd = common dso_local local_unnamed_addr global i32 0, align 4
9 @even = common dso_local local_unnamed_addr global i32 0, align 4
10 @__llvm_profile_filename = local_unnamed_addr constant [25 x i8] c"pass2/default_%m.profraw\00", comdat
11 @__llvm_profile_raw_version = local_unnamed_addr constant i64 216172782113783812, comdat
12 @__llvm_profile_sampling = thread_local global i16 0, comdat
13 @llvm.used = appending global [1 x i8*] [i8* bitcast (i64* @__llvm_profile_sampling to i8*)], section "llvm.metadata"
15 define dso_local void @bar(i32 %n) !prof !30 {
17 %call = tail call fastcc i32 @cond(i32 %n)
18 %tobool = icmp eq i32 %call, 0
19 br i1 %tobool, label %if.else, label %if.then, !prof !31
22 %0 = load i32, i32* @odd, align 4, !tbaa !32
24 store i32 %inc, i32* @odd, align 4, !tbaa !32
28 %1 = load i32, i32* @even, align 4, !tbaa !32
30 store i32 %inc1, i32* @even, align 4, !tbaa !32
37 define internal fastcc i32 @cond(i32 %i) #1 !prof !30 !PGOFuncName !36 {
43 attributes #1 = { inlinehint noinline }
45 !llvm.module.flags = !{!0, !1, !2}
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"}