llvm-6502/unittests/Support
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
..
AlignOfTest.cpp
AllocatorTest.cpp [Allocator] Make BumpPtrAllocator movable and move assignable. 2014-04-16 10:48:27 +00:00
ArrayRecyclerTest.cpp
BlockFrequencyTest.cpp blockfreq: Defer to BranchProbability::scale() (again) 2014-04-29 16:31:29 +00:00
BranchProbabilityTest.cpp Support: Add BranchProbability::scale() and ::scaleByInverse() 2014-04-29 16:15:35 +00:00
Casting.cpp [C++11] Replace LLVM-style type traits with C++11 standard ones. 2014-03-07 14:42:25 +00:00
CMakeLists.txt Support: Add unit tests for BranchProbability 2014-04-29 16:12:13 +00:00
CommandLineTest.cpp Switch all uses of LLVM_OVERRIDE to just use 'override' directly. 2014-03-02 09:09:27 +00:00
CompressionTest.cpp Simplify compression API by compressing into a SmallVector rather than a MemoryBuffer 2014-04-05 21:53:04 +00:00
ConvertUTFTest.cpp
DataExtractorTest.cpp
EndianTest.cpp
ErrorOrTest.cpp [C++11] Remove LLVM_HAS_CXX11_STDLIB now that it is just on. 2014-03-01 10:57:19 +00:00
FileOutputBufferTest.cpp Fix known typos 2014-01-24 17:20:08 +00:00
formatted_raw_ostream_test.cpp
IteratorTest.cpp [ADT] Generalize pointee_iterator to smart pointers by using decltype. 2014-04-24 21:10:35 +00:00
LEB128Test.cpp Move get[S|U]LEB128Size() to LEB128.h. 2014-02-22 14:00:39 +00:00
LineIteratorTest.cpp Replace OwningPtr<T> with std::unique_ptr<T>. 2014-03-06 05:51:42 +00:00
LockFileManagerTest.cpp Fix these tests on windows. 2014-03-25 13:19:03 +00:00
Makefile
ManagedStatic.cpp
MathExtrasTest.cpp
MD5Test.cpp
MemoryBufferTest.cpp [C++11] Add overloads for externally used OwningPtr functions. 2014-03-05 10:27:34 +00:00
MemoryTest.cpp
Path.cpp support: add a utility function to normalise path separators 2014-03-11 22:05:42 +00:00
ProcessTest.cpp Silence a warning: 2014-02-04 22:53:45 +00:00
ProgramTest.cpp Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
raw_ostream_test.cpp
RegexTest.cpp [C++11] Remove uses of LLVM_HAS_RVALUE_REFERENCES from the unittests. 2014-03-01 09:36:06 +00:00
SourceMgrTest.cpp SourceMgr diagnotics printing: fix a bug where printing a fixit for a source 2013-09-27 21:24:36 +00:00
SwapByteOrderTest.cpp Fix known typos 2014-01-24 17:20:08 +00:00
ThreadLocalTest.cpp Make sys::ThreadLocal<> zero-initialized on non-thread builds (PR18205) 2013-12-19 20:32:44 +00:00
TimeValueTest.cpp Use the overloaded std::abs rather than C's abs(int) to address Clang's -Wabsolute-value 2014-02-26 19:12:28 +00:00
UnicodeTest.cpp Move generic isPrint and columnWidth implementations to a separate header/source to allow using both generic and system-dependent versions on win32. 2013-09-04 16:00:12 +00:00
YAMLIOTest.cpp YAMLIO: Allow scalars to dictate quotation rules 2014-04-10 07:37:33 +00:00
YAMLParserTest.cpp