Home
last modified time | relevance | path

Searched refs:ScaledPair (Results 1 – 2 of 2) sorted by relevance

/external/llvm/unittests/Support/
DScaledNumberTest.cpp19 template <class UIntT> struct ScaledPair { struct
22 ScaledPair(const std::pair<UIntT, int16_t> &F) : D(F.first), S(F.second) {} in ScaledPair() argument
23 ScaledPair(UIntT D, int S) : D(D), S(S) {} in ScaledPair() argument
25 bool operator==(const ScaledPair<UIntT> &X) const { in operator ==() argument
31 const ScaledPair<UIntT> &R) { in operator ==()
32 return ScaledPair<UIntT>(L) == R; in operator ==()
35 void PrintTo(const ScaledPair<UIntT> &F, ::std::ostream *os) { in PrintTo()
39 typedef ScaledPair<uint32_t> SP32;
40 typedef ScaledPair<uint64_t> SP64;
/external/llvm-project/llvm/unittests/Support/
DScaledNumberTest.cpp18 template <class UIntT> struct ScaledPair { struct
21 ScaledPair(const std::pair<UIntT, int16_t> &F) : D(F.first), S(F.second) {} in ScaledPair() argument
22 ScaledPair(UIntT D, int S) : D(D), S(S) {} in ScaledPair() function
24 bool operator==(const ScaledPair<UIntT> &X) const { in operator ==() argument
30 const ScaledPair<UIntT> &R) { in operator ==()
31 return ScaledPair<UIntT>(L) == R; in operator ==()
34 void PrintTo(const ScaledPair<UIntT> &F, ::std::ostream *os) { in PrintTo()
38 typedef ScaledPair<uint32_t> SP32;
39 typedef ScaledPair<uint64_t> SP64;