Home
last modified time | relevance | path

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

/llvm-project/llvm/unittests/Support/
H A 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() argument
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;