1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/Analysis/BlockFrequencyInfo
Adam Nemet 071e00e973 [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

llvm-svn: 275250
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