Home
last modified time | relevance | path

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

/external/llvm/unittests/ADT/
DPointerIntPairTest.cpp50 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/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DPointerIntPairTest.cpp50 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DR600InstrInfo.cpp587 unsigned Pair1 = 0, Pair2 = 0; in fitsConstReadLimitations() local
598 if (!Pair2) { in fitsConstReadLimitations()
599 Pair2 = ReadHalfConst; in fitsConstReadLimitations()
602 if (Pair2 != ReadHalfConst) in fitsConstReadLimitations()
/external/llvm/lib/Target/AMDGPU/
DR600InstrInfo.cpp596 unsigned Pair1 = 0, Pair2 = 0; in fitsConstReadLimitations() local
607 if (!Pair2) { in fitsConstReadLimitations()
608 Pair2 = ReadHalfConst; in fitsConstReadLimitations()
611 if (Pair2 != ReadHalfConst) in fitsConstReadLimitations()