llvm/test/Analysis/BlockFrequencyInfo
Adam Nemet 15e85ff776 [BFI] Add new LazyBFI analysis pass
Summary:
This is necessary for D21771.  In order to add the hotness attribute to
optimization remarks we need BFI to be available in all passes that emit
optimization remarks.

However we don't want to pay for computing BFI unless the hotness
attribute is requested.

This is achieved by making BFI lazy at the very high-level through a new
analysis pass -- BFI is not calculated unless requested.

I am adding a test to check the laziness under D21771 where the first
user of the analysis is added.

Reviewers: hfinkel, dexonsmith, davidxl

Subscribers: davidxl, dexonsmith, llvm-commits

Differential Revision: http://reviews.llvm.org/D22141

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275250 91177308-0d34-0410-b5e6-96231b3b80d8
2016-07-13 05:01:48 +00:00
..
bad_input.ll [PM] port Branch Frequency Analaysis pass to new PM 2016-05-05 21:13:27 +00:00
basic.ll [BFI] Add new LazyBFI analysis pass 2016-07-13 05:01:48 +00:00
double_backedge.ll [PM] port Branch Frequency Analaysis pass to new PM 2016-05-05 21:13:27 +00:00
double_exit.ll [PM] port Branch Frequency Analaysis pass to new PM 2016-05-05 21:13:27 +00:00
extremely-likely-loop-successor.ll [PM] port Branch Frequency Analaysis pass to new PM 2016-05-05 21:13:27 +00:00
irreducible_loop_crash.ll [PM] port Branch Frequency Analaysis pass to new PM 2016-05-05 21:13:27 +00:00
irreducible.ll [PM] port Branch Frequency Analaysis pass to new PM 2016-05-05 21:13:27 +00:00
loop_with_branch.ll [PM] port Branch Frequency Analaysis pass to new PM 2016-05-05 21:13:27 +00:00
loops_with_profile_info.ll [PM] port Branch Frequency Analaysis pass to new PM 2016-05-05 21:13:27 +00:00
nested_loop_with_branches.ll [PM] port Branch Frequency Analaysis pass to new PM 2016-05-05 21:13:27 +00:00