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
basic.ll
double_backedge.ll
double_exit.ll
extremely-likely-loop-successor.ll
irreducible_loop_crash.ll
irreducible.ll
loop_with_branch.ll
loops_with_profile_info.ll
nested_loop_with_branches.ll