Last active
October 4, 2018 12:18
-
-
Save mcopik/2c30017a6bc3fb46e690fd5a216ea686 to your computer and use it in GitHub Desktop.
test.ll
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Function Attrs: inlinehint norecurse nounwind uwtable | |
define dso_local void @_Z1fPdi(double* nocapture, i32) local_unnamed_addr #0 !prof !29 { | |
%3 = icmp sgt i32 %1, 0 | |
br i1 %3, label %4, label %6, !prof !30 | |
; <label>:4: ; preds = %2 | |
%5 = zext i32 %1 to i64 | |
br label %7 | |
; <label>:6: ; preds = %7, %2 | |
ret void | |
; <label>:7: ; preds = %7, %4 | |
%8 = phi i64 [ 0, %4 ], [ %12, %7 ] | |
%9 = getelementptr inbounds double, double* %0, i64 %8 | |
%10 = load double, double* %9, align 8, !tbaa !31 | |
%11 = fadd double %10, 1.100000e+00 | |
store double %11, double* %9, align 8, !tbaa !31 | |
%12 = add nuw nsw i64 %8, 1 | |
%13 = icmp eq i64 %12, %5 | |
br i1 %13, label %6, label %7, !prof !35 | |
} | |
attributes #0 = { inlinehint norecurse nounwind uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" } | |
!llvm.module.flags = !{!0, !1} | |
!llvm.ident = !{!28} | |
!0 = !{i32 1, !"wchar_size", i32 4} | |
!1 = !{i32 1, !"ProfileSummary", !2} | |
!2 = !{!3, !4, !5, !6, !7, !8, !9, !10} | |
!3 = !{!"ProfileFormat", !"InstrProf"} | |
!4 = !{!"TotalCount", i64 201} | |
!5 = !{!"MaxCount", i64 200} | |
!6 = !{!"MaxInternalCount", i64 1} | |
!7 = !{!"MaxFunctionCount", i64 200} | |
!8 = !{!"NumCounts", i64 2} | |
!9 = !{!"NumFunctions", i64 1} | |
!10 = !{!"DetailedSummary", !11} | |
!11 = !{!12, !13, !14, !15, !16, !17, !18, !19, !20, !21, !22, !23, !24, !25, !26, !27} | |
!12 = !{i32 10000, i64 200, i32 1} | |
!13 = !{i32 100000, i64 200, i32 1} | |
!14 = !{i32 200000, i64 200, i32 1} | |
!15 = !{i32 300000, i64 200, i32 1} | |
!16 = !{i32 400000, i64 200, i32 1} | |
!17 = !{i32 500000, i64 200, i32 1} | |
!18 = !{i32 600000, i64 200, i32 1} | |
!19 = !{i32 700000, i64 200, i32 1} | |
!20 = !{i32 800000, i64 200, i32 1} | |
!21 = !{i32 900000, i64 200, i32 1} | |
!22 = !{i32 950000, i64 200, i32 1} | |
!23 = !{i32 990000, i64 200, i32 1} | |
!24 = !{i32 999000, i64 200, i32 1} | |
!25 = !{i32 999900, i64 200, i32 1} | |
!26 = !{i32 999990, i64 200, i32 1} | |
!27 = !{i32 999999, i64 200, i32 1} | |
!28 = !{!"clang version 8.0.0 ([email protected]:llvm-mirror/clang.git cde569a8760722ce854b7055247562954fe55d39) ([email protected]:llvm-mirror/LLVM.git ad1103ee8b81977cdf168a3d0a86f62d100a9183)"} | |
!29 = !{!"function_entry_count", i64 1} | |
!30 = !{!"branch_weights", i32 200, i32 1} | |
!31 = !{!32, !32, i64 0} | |
!32 = !{!"double", !33, i64 0} | |
!33 = !{!"omnipotent char", !34, i64 0} | |
!34 = !{!"Simple C++ TBAA"} | |
!35 = !{!"branch_weights", i32 1, i32 200} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment