Searched refs:SumType (Results 1 – 5 of 5) sorted by relevance
/external/llvm-project/llvm/unittests/ADT/ |
D | PointerSumTypeTest.cpp | 23 SumType; typedef 24 SumType a, b, c, n; 27 : f(3.14f), i1(42), i2(-1), a(SumType::create<Float>(&f)), in PointerSumTypeTest() 28 b(SumType::create<Int1>(&i1)), c(SumType::create<Int2>(&i2)), n() {} in PointerSumTypeTest() 82 b = SumType::create<Int2>(&i2); in TEST_F() 87 b = SumType::create<Int2>(&i1); in TEST_F() 93 b = SumType::create<Float>(&Local); in TEST_F() 98 n = SumType::create<Int1>(&i2); in TEST_F() 104 n = SumType::create<Float>(nullptr); in TEST_F()
|
/external/llvm/unittests/ADT/ |
D | PointerSumTypeTest.cpp | 24 SumType; typedef 25 SumType a, b, c, n; 28 : f(3.14f), i1(42), i2(-1), a(SumType::create<Float>(&f)), in PointerSumTypeTest() 29 b(SumType::create<Int1>(&i1)), c(SumType::create<Int2>(&i2)), n() {} in PointerSumTypeTest() 83 b = SumType::create<Int2>(&i2); in TEST_F() 88 b = SumType::create<Int2>(&i1); in TEST_F() 94 b = SumType::create<Float>(&Local); in TEST_F() 99 n = SumType::create<Int1>(&i2); in TEST_F() 105 n = SumType::create<Float>(nullptr); in TEST_F()
|
/external/llvm/include/llvm/ADT/ |
D | PointerSumType.h | 179 typedef PointerSumType<TagT, MemberTs...> SumType; 187 static inline SumType getEmptyKey() { 188 return SumType::create<SomeTag>(SomePointerInfo::getEmptyKey()); 190 static inline SumType getTombstoneKey() { 191 return SumType::create<SomeTag>( 194 static unsigned getHashValue(const SumType &Arg) { 198 static bool isEqual(const SumType &LHS, const SumType &RHS) {
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | PointerSumType.h | 267 using SumType = PointerSumType<TagT, MemberTs...>; 274 static inline SumType getEmptyKey() { 275 return SumType::create<SomeTag>(SomePointerInfo::getEmptyKey()); 278 static inline SumType getTombstoneKey() { 279 return SumType::create<SomeTag>(SomePointerInfo::getTombstoneKey()); 282 static unsigned getHashValue(const SumType &Arg) { 287 static bool isEqual(const SumType &LHS, const SumType &RHS) {
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | PointerSumType.h | 267 using SumType = PointerSumType<TagT, MemberTs...>; 274 static inline SumType getEmptyKey() { 275 return SumType::create<SomeTag>(SomePointerInfo::getEmptyKey()); 278 static inline SumType getTombstoneKey() { 279 return SumType::create<SomeTag>(SomePointerInfo::getTombstoneKey()); 282 static unsigned getHashValue(const SumType &Arg) { 287 static bool isEqual(const SumType &LHS, const SumType &RHS) {
|