OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:scaleByInverse
(Results
1 - 5
of
5
) sorted by null
/external/llvm/unittests/Support/
BranchProbabilityTest.cpp
155
TEST(BranchProbabilityTest,
scaleByInverse
) {
157
EXPECT_EQ(UINT64_MAX, BP(1, 1).
scaleByInverse
(UINT64_MAX));
158
EXPECT_EQ(UINT64_MAX, BP(7, 7).
scaleByInverse
(UINT64_MAX));
159
EXPECT_EQ(UINT32_MAX, BP(1, 1).
scaleByInverse
(UINT32_MAX));
160
EXPECT_EQ(UINT32_MAX, BP(7, 7).
scaleByInverse
(UINT32_MAX));
161
EXPECT_EQ(0u, BP(1, 1).
scaleByInverse
(0));
162
EXPECT_EQ(0u, BP(7, 7).
scaleByInverse
(0));
167
EXPECT_EQ(UINT64_MAX, BP(1, UINT32_MAX).
scaleByInverse
(UINT64_MAX));
169
BP(1, MAX_DENOMINATOR).
scaleByInverse
(UINT32_MAX));
170
EXPECT_EQ(MAX_DENOMINATOR, BP(1, MAX_DENOMINATOR).
scaleByInverse
(1))
[
all
...]
/external/llvm/lib/Support/
BlockFrequency.cpp
32
Frequency = Prob.
scaleByInverse
(Frequency);
BranchProbability.cpp
112
uint64_t BranchProbability::
scaleByInverse
(uint64_t Num) const {
/external/llvm/include/llvm/Support/
BranchProbability.h
95
uint64_t
scaleByInverse
(uint64_t Num) const;
ScaledNumber.h
655
uint64_t
scaleByInverse
(uint64_t N) const {
664
int64_t
scaleByInverse
(int64_t N) const {
666
return joinSigned(
scaleByInverse
(Unsigned.first), Unsigned.second);
Completed in 387 milliseconds