llvm-6502/unittests
Jakob Stoklund Olesen d7648ff20f Add a division operator to BlockFrequency.
Allow a BlockFrequency to be divided by a non-zero BranchProbability
with saturating arithmetic. This will be used to compute the frequency
of a loop header given the probability of leaving the loop.

Our long division algorithm already saturates on overflow, so that was a
freebie.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185184 91177308-0d34-0410-b5e6-96231b3b80d8
2013-06-28 18:23:42 +00:00
..
ADT [APFloat] Added unittest for APFloat.divide that checks special cases, result categories, and result statuses. 2013-06-27 00:42:00 +00:00
Analysis Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
Bitcode llvm/unittests: Use OwningPtr to fix --vg-leak. 2013-01-23 08:33:13 +00:00
DebugInfo Create a stub for DWARF parser unittests 2013-04-17 08:29:02 +00:00
ExecutionEngine [mips] Remove Triple:mips from SupportedArchs in MCJIT unittests 2013-06-20 20:33:06 +00:00
IR Add unit test to test a trivial verifier check. 2013-06-19 19:26:44 +00:00
Option llvm/unittests: Use OwningPtr to fix --vg-leak. 2013-01-23 08:33:13 +00:00
Support Add a division operator to BlockFrequency. 2013-06-28 18:23:42 +00:00
Transforms Delete the functions F1 and F2 to appease the valgrind bot. 2013-04-10 23:21:26 +00:00
CMakeLists.txt Create a stub for DWARF parser unittests 2013-04-17 08:29:02 +00:00
Makefile Create a stub for DWARF parser unittests 2013-04-17 08:29:02 +00:00
Makefile.unittest build/unittests: Fix llvm-config names for gtest libraries, and bring Makefile 2011-12-15 23:35:08 +00:00