Searched refs:Pair2 (Results 1 – 2 of 2) sorted by relevance
/external/llvm/unittests/ADT/ |
D | PointerIntPairTest.cpp | 50 PointerIntPair<S *, 2, E> Pair2(&s, E::Case1); in TEST() local 51 EXPECT_EQ(&s, Pair2.getPointer()); in TEST() 52 EXPECT_EQ(E::Case1, Pair2.getInt()); in TEST() 54 Pair2.setInt(E::Case2); in TEST() 55 EXPECT_EQ(&s, Pair2.getPointer()); in TEST() 56 EXPECT_EQ(E::Case2, Pair2.getInt()); in TEST() 58 Pair2.setPointer(nullptr); in TEST() 59 EXPECT_EQ(nullptr, Pair2.getPointer()); in TEST() 60 EXPECT_EQ(E::Case2, Pair2.getInt()); in TEST() 62 Pair2.setPointerAndInt(&s, E::Case3); in TEST() [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | R600InstrInfo.cpp | 596 unsigned Pair1 = 0, Pair2 = 0; in fitsConstReadLimitations() local 607 if (!Pair2) { in fitsConstReadLimitations() 608 Pair2 = ReadHalfConst; in fitsConstReadLimitations() 611 if (Pair2 != ReadHalfConst) in fitsConstReadLimitations()
|