Reapply "blockfreq: Rewrite BlockFrequencyInfoImpl"
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 18 Apr 2014 17:22:25 +0000 (17:22 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 18 Apr 2014 17:22:25 +0000 (17:22 +0000)
commitf8361d127a92b81126a5370b50944bef169fbcff
tree6a7a566c01292b7648d622a3ee4900b646cedc28
parentc812b5b33a1d0ec9f7b6978ac1fb0112093eedf6
Reapply "blockfreq: Rewrite BlockFrequencyInfoImpl"

This reverts commit r206556, effectively reapplying commit r206548 and
its fixups in r206549 and r206550.

In an intervening commit I've added target triples to the tests that
were failing remotely [1] (but passing locally).  I'm hoping the mystery
is solved?  I'll revert this again if the tests are still failing
remotely.

[1]: http://bb.pgr.jp/builders/ninja-x64-msvc-RA-centos6/builds/1816

llvm-svn: 206622
12 files changed:
llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h
llvm/lib/Analysis/BlockFrequencyInfo.cpp
llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp [new file with mode: 0644]
llvm/lib/Analysis/CMakeLists.txt
llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp
llvm/test/Analysis/BlockFrequencyInfo/bad_input.ll [new file with mode: 0644]
llvm/test/Analysis/BlockFrequencyInfo/basic.ll
llvm/test/Analysis/BlockFrequencyInfo/double_exit.ll [new file with mode: 0644]
llvm/test/Analysis/BlockFrequencyInfo/irreducible.ll [new file with mode: 0644]
llvm/test/Analysis/BlockFrequencyInfo/loop_with_branch.ll [new file with mode: 0644]
llvm/test/Analysis/BlockFrequencyInfo/nested_loop_with_branches.ll [new file with mode: 0644]
llvm/test/CodeGen/XCore/llvm-intrinsics.ll