llvm-6502/unittests
Duncan P. N. Exon Smith 07f96126af blockfreq: Defer to BranchProbability::scale() (again)
Change `BlockFrequency` to defer to `BranchProbability::scale()` and
`BranchProbability::scaleByInverse()`.

This removes `BlockFrequency::scale()` from its API (and drops the
ability to see the remainder), but the only user was the unit tests.  If
some code in the future needs an API that exposes the remainder, we can
add something to `BranchProbability`, but I find that unlikely.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207550 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-29 16:31:29 +00:00
..
ADT [ADT] Teach PointerUnion to support assignment directly from nullptr to 2014-04-29 00:14:27 +00:00
Analysis [LCG] Add the most basic of edge insertion to the lazy call graph. This 2014-04-28 11:10:23 +00:00
Bitcode verify-di: Implement DebugInfoVerifier 2014-04-15 16:27:38 +00:00
CodeGen DIE: Pass ownership of children via std::unique_ptr rather than raw pointer. 2014-04-25 20:00:34 +00:00
DebugInfo [CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt. 2013-12-10 11:13:32 +00:00
ExecutionEngine [PM] Add pass run listeners to the pass manager. 2014-04-28 18:19:25 +00:00
IR Make the User::value_op_iterator a random access iterator. I had written 2014-04-17 09:07:50 +00:00
LineEditor Introduce line editor library. 2014-01-31 23:46:14 +00:00
Linker LinkModulesTest.cpp: Reformat. 2014-04-29 15:52:46 +00:00
MC Fix MCDataAtom never calling remap when adding data. 2013-10-16 18:26:16 +00:00
Object Object: Don't double-escape empty hexdata 2014-03-20 06:28:52 +00:00
Option Retire llvm::array_endof in favor of non-member std::end. 2014-04-12 16:15:53 +00:00
Support blockfreq: Defer to BranchProbability::scale() (again) 2014-04-29 16:31:29 +00:00
Transforms This reverts r206828 until David has time to figure out that is going on. 2014-04-22 02:17:11 +00:00
CMakeLists.txt [CMake] Enable llvm/unittests/LinkerTests. It had not been enabled since r199354. 2014-04-29 15:52:36 +00:00
Makefile Introduce line editor library. 2014-01-31 23:46:14 +00:00
Makefile.unittest With rpaths being set correctly, SHLIBPATH_VAR is not needed anymore. 2014-02-28 16:16:51 +00:00