OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getQuotient32
(Results
1 - 2
of
2
) sorted by null
/external/llvm/unittests/Support/
ScaledNumberTest.cpp
136
EXPECT_EQ(SP32(0, 0),
getQuotient32
(0, 0));
137
EXPECT_EQ(SP32(0, 0),
getQuotient32
(0, 1));
138
EXPECT_EQ(SP32(0, 0),
getQuotient32
(0, 73));
139
EXPECT_EQ(SP32(UINT32_MAX, MaxScale),
getQuotient32
(1, 0));
140
EXPECT_EQ(SP32(UINT32_MAX, MaxScale),
getQuotient32
(6, 0));
143
EXPECT_EQ(SP32(1u << 31, -31),
getQuotient32
(1, 1));
144
EXPECT_EQ(SP32(1u << 31, -30),
getQuotient32
(2, 1));
145
EXPECT_EQ(SP32(1u << 31, -33),
getQuotient32
(4, 16));
146
EXPECT_EQ(SP32(7u << 29, -29),
getQuotient32
(7, 1));
147
EXPECT_EQ(SP32(7u << 29, -30),
getQuotient32
(7, 2))
[
all
...]
/external/llvm/include/llvm/Support/
ScaledNumber.h
171
inline std::pair<uint32_t, int16_t>
getQuotient32
(uint32_t Dividend,
Completed in 224 milliseconds