Go to file
Bob Wilson 0ed74d9634 [PGO] Add simplified branch weights for Objective-C for-collection loops.
Conceptually one of these loops is just a while-loop, but the actual code-gen
is more complicated. We don't instrument all the different control flow edges
to get accurate counts for each conditional branch, nor do I think it makes
sense to do so. Instead, make the simplifying assumption that the loop behaves
like a while-loop. Use the same branch weights for the first check for an
empty collection as would be used for the back-edge of a while loop, and use
that same weighting for the innermost loop, ignoring the possibility that there
may be some extra code to go fetch more elements.

llvm-svn: 204767
2014-03-25 23:26:31 +00:00
clang [PGO] Add simplified branch weights for Objective-C for-collection loops. 2014-03-25 23:26:31 +00:00
clang-tools-extra Removed unused include 2014-03-23 00:32:18 +00:00
compiler-rt [msan] Enable SelectPartial test. 2014-03-25 13:09:14 +00:00
debuginfo-tests relax testcase for LLDB output format compatibility. 2014-03-19 23:06:18 +00:00
libclc Add definition for M_PI_F v3 2014-03-24 20:36:44 +00:00
libcxx Mark LWG issues #2075 and #2142 as complete. 2142 was a change to the standard 2014-03-25 14:57:05 +00:00
libcxxabi Simplify. 2014-03-20 01:28:28 +00:00
lld [PECOFF] Print out command line if we have expanded response files. 2014-03-25 20:40:27 +00:00
lldb Made the Materializer not write back variables 2014-03-25 22:30:19 +00:00
llvm llvm/test/DebugInfo/empty.ll: Suppress crash for targeting pecoff while investigating. 2014-03-25 23:16:44 +00:00
openmp Revert commit (testing commit hook). 2014-03-04 18:06:04 +00:00
polly Updated test/create_ll.sh to work with old & new clang versions. 2014-03-25 15:50:44 +00:00