| /llvm-project-15.0.7/lldb/unittests/Core/ |
| H A D | SourceLocationSpecTest.cpp | 76 TEST(SourceLocationSpecTest, Equal) { in TEST() argument 78 return SourceLocationSpec::Equal(lhs, rhs, full); in TEST() 88 Equal(Create(true, true, fs, 4), Create(true, true, fs, 4), false)); in TEST() 89 EXPECT_FALSE(Equal(Create(false, false, fs, 4), in TEST() 95 EXPECT_TRUE(Equal(Create(false, false, fs, 4, 19), in TEST() 97 EXPECT_TRUE(Equal(Create(true, true, fs, 4, 19), in TEST() 99 EXPECT_FALSE(Equal(Create(false, false, fs, 4, 19), in TEST() 101 EXPECT_FALSE(Equal(Create(true, true, fs, 4, 19), in TEST() 107 EXPECT_TRUE(Equal(Create(false, false, fs, 4), in TEST() 117 EXPECT_FALSE(Equal(Create(true, true, fs, 4, 96), in TEST() [all …]
|
| /llvm-project-15.0.7/libcxx/test/libcxx/algorithms/ |
| H A D | ranges_robust_against_copying_comparators.pass.cpp | 30 struct Equal { struct 32 constexpr explicit Equal(int *copies) : copies_(copies) {} in Equal() argument 33 constexpr Equal(const Equal& rhs) : copies_(rhs.copies_) { *copies_ += 1; } in Equal() function 34 constexpr Equal& operator=(const Equal&) = default; 94 (void)std::ranges::adjacent_find(a, Equal(&copies)); assert(copies == 0); in all_the_algorithms() 110 (void)std::ranges::equal(a, b, Equal(&copies)); assert(copies == 0); in all_the_algorithms() 114 (void)std::ranges::find_end(a, b, Equal(&copies)); assert(copies == 0); in all_the_algorithms() 116 (void)std::ranges::find_first_of(a, b, Equal(&copies)); assert(copies == 0); in all_the_algorithms() 167 (void)std::ranges::mismatch(a, b, Equal(&copies)); assert(copies == 0); in all_the_algorithms() 199 (void)std::ranges::search(a, b, Equal(&copies)); assert(copies == 0); in all_the_algorithms() [all …]
|
| H A D | robust_against_copying_comparators.pass.cpp | 28 struct Equal { struct 30 TEST_CONSTEXPR explicit Equal(int *copies) : copies_(copies) {} in Equal() argument 31 TEST_CONSTEXPR_CXX14 Equal(const Equal& rhs) : copies_(rhs.copies_) { *copies_ += 1; } in Equal() function 32 TEST_CONSTEXPR_CXX14 Equal& operator=(const Equal&) = default; 106 (void)std::adjacent_find(first, last, Equal<T>(&copies)); assert(copies == 0); in all_the_algorithms() 117 (void)std::equal(first, last, first2, Equal<T>(&copies)); assert(copies == 0); in all_the_algorithms() 119 (void)std::equal(first, last, first2, last2, Equal<T>(&copies)); assert(copies == 0); in all_the_algorithms() 165 (void)std::mismatch(first, last, first2, Equal<T>(&copies)); assert(copies == 0); in all_the_algorithms() 186 (void)std::search(first, last, first2, mid2, Equal<T>(&copies)); assert(copies == 0); in all_the_algorithms() 201 (void)std::unique(first, last, Equal<T>(&copies)); assert(copies == 0); in all_the_algorithms() [all …]
|
| H A D | ranges_robust_against_copying_projections.pass.cpp | 36 struct Equal { struct 75 (void)std::ranges::adjacent_find(first, last, Equal(), Proj(&copies)); assert(copies == 0); in all_the_algorithms() 76 (void)std::ranges::adjacent_find(a, Equal(), Proj(&copies)); assert(copies == 0); in all_the_algorithms() 94 (void)std::ranges::equal(a, b, Equal(), Proj(&copies), Proj(&copies)); assert(copies == 0); in all_the_algorithms() 100 (void)std::ranges::find_end(a, b, Equal(), Proj(&copies), Proj(&copies)); assert(copies == 0); in all_the_algorithms() 150 (void)std::ranges::mismatch(a, b, Equal(), Proj(&copies), Proj(&copies)); assert(copies == 0); in all_the_algorithms() 190 (void)std::ranges::search(a, b, Equal(), Proj(&copies), Proj(&copies)); assert(copies == 0); in all_the_algorithms() 192 (void)std::ranges::search_n(a, count, value, Equal(), Proj(&copies)); assert(copies == 0); in all_the_algorithms() 216 (void)std::ranges::unique(first, last, Equal(), Proj(&copies)); assert(copies == 0); in all_the_algorithms() 217 (void)std::ranges::unique(a, Equal(), Proj(&copies)); assert(copies == 0); in all_the_algorithms() [all …]
|
| /llvm-project-15.0.7/flang/include/flang/Evaluate/ |
| H A D | common.h | 36 ENUM_CLASS(Ordering, Less, Equal, Greater) in ENUM_CLASS() argument 37 ENUM_CLASS(Relation, Less, Equal, Greater, Unordered) in ENUM_CLASS() 46 return Ordering::Equal; in ENUM_CLASS() 66 return Ordering::Equal; in Compare() 76 return Ordering::Equal; in Reverse() 86 return Relation::Equal; in RelationFromOrdering() 105 case Ordering::Equal: in Satisfies() 119 case Relation::Equal: in Satisfies() 120 return Satisfies(op, Ordering::Equal); in Satisfies()
|
| H A D | integer.h | 185 return CompareSigned(that) == Ordering::Equal; 311 result.overflow = back.value.CompareUnsigned(that) != Ordering::Equal; in ConvertSigned() 383 return Ordering::Equal; in CompareToZeroSigned() 446 return Ordering::Equal; in CompareUnsigned() 903 if (CompareUnsigned(divisor) == Ordering::Equal) { in MultiplyUnsigned() 910 } else if (divisorOrdering == Ordering::Equal) { in MultiplyUnsigned() 925 divisor.CompareUnsigned(Integer{1}) == Ordering::Equal) { in MultiplyUnsigned() 972 } else if (CompareSigned(Integer{1}) == Ordering::Equal) { in MultiplyUnsigned() 974 } else if (CompareSigned(Integer{-1}) == Ordering::Equal) { in MultiplyUnsigned()
|
| H A D | complex.h | 44 return re_.Compare(that.re_) == Relation::Equal && in Equals() 45 im_.Compare(that.im_) == Relation::Equal; in Equals()
|
| /llvm-project-15.0.7/pstl/test/std/algorithms/alg.sorting/ |
| H A D | sort.pass.cpp | 35 Equal(const ParanoidKey& x, const ParanoidKey& y); 113 Equal(const ParanoidKey& x, const ParanoidKey& y); 141 Equal(const ParanoidKey& x, const ParanoidKey& y) in Equal() function 147 Equal(float32_t x, float32_t y) in Equal() function 153 Equal(int32_t x, int32_t y) in Equal() function 183 EXPECT_TRUE(Equal(*expected_first, *tmp_first), "bad sort"); in operator ()()
|
| /llvm-project-15.0.7/flang/unittests/Evaluate/ |
| H A D | real.cpp | 64 TEST(zero.Compare(zero) == Relation::Equal)(desc); in basicTests() 75 TEST(minusZero.Compare(minusZero) == Relation::Equal)(desc); in basicTests() 76 TEST(zero.Compare(minusZero) == Relation::Equal)(desc); in basicTests() 103 TEST(inf.RawBits().CompareUnsigned(inf.ABS().RawBits()) == Ordering::Equal) in basicTests() 108 TEST(inf.Compare(inf) == Relation::Equal)(desc); in basicTests() 117 Ordering::Equal) in basicTests() 120 Ordering::Equal) in basicTests() 126 TEST(negInf.Compare(negInf) == Relation::Equal)(desc); in basicTests() 162 TEST(vr.value.Compare(check.value) == Relation::Equal)(ldesc); in basicTests() 165 TEST(vr.value.ToWholeNumber().value.Compare(vr.value) == Relation::Equal) in basicTests() [all …]
|
| H A D | integer.cpp | 98 Ordering ord{Ordering::Equal}; in exhaustiveTesting() 111 ord = Ordering::Equal; in exhaustiveTesting() 148 ord = Ordering::Equal; in exhaustiveTesting() 160 ord = Ordering::Equal; in exhaustiveTesting() 247 TEST(Reverse(Ordering::Equal) == Ordering::Equal); in main()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | LowerAtomic.cpp | 30 Value *Equal = Builder.CreateICmpEQ(Orig, Cmp); in lowerAtomicCmpXchgInst() local 31 Value *Res = Builder.CreateSelect(Equal, Val, Orig); in lowerAtomicCmpXchgInst() 35 Res = Builder.CreateInsertValue(Res, Equal, 1); in lowerAtomicCmpXchgInst()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | fallible_iterator.h | 172 bool Equal = LHS.I == RHS.I; variable 176 if (!Equal) { 183 return Equal;
|
| /llvm-project-15.0.7/libcxx/test/support/ |
| H A D | test_transparent_unordered.h | 93 template<template<class...> class UnorderedSet, class Hash, class Equal> 94 using unord_set_type = UnorderedSet<StoredType<int>, Hash, Equal>; 96 template<template<class...> class UnorderedMap, class Hash, class Equal> 97 using unord_map_type = UnorderedMap<StoredType<int>, int, Hash, Equal>;
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ComparisonCategories.h | 67 Equal, enumerator 153 if (!isStrong() && Res == CCR::Equal) in makeWeakResult() 159 return getValueInfo(makeWeakResult(ComparisonCategoryResult::Equal)); in getEqualOrEquiv()
|
| /llvm-project-15.0.7/llvm/unittests/Remarks/ |
| H A D | YAMLRemarksParsingTest.cpp | 67 Equal, enumerator 85 if (Cmp == CmpType::Equal) { in parseExpectErrorMeta() 698 "Expecting \\0 after magic number.", CmpType::Equal); in TEST() 701 CmpType::Equal); in TEST() 707 CmpType::Equal); in TEST() 712 "Expecting string table size.", CmpType::Equal); in TEST() 718 "Expecting string table.", CmpType::Equal); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | COFFModuleDefinition.cpp | 36 Equal, enumerator 104 return Token(Equal, "="); in lex() 227 if (Tok.K == Equal) { in parseExport() 319 if (Error Err = expect(Equal, "'=' expected")) in parseName()
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | complete-block-properties.m | 44 //CHECK-CC1-NEXT: ObjCPropertyDecl:{ResultType void (^)()}{TypedText block}{Equal = }{Placeholder … 46 …CPropertyDecl:{ResultType Foo (^)(int, Foo, FooBlock)}{TypedText blocker}{Equal = }{Placeholder ^… 87 //CHECK-CC3-NEXT: ObjCPropertyDecl:{ResultType void (^)()}{TypedText explicit}{Equal = }{Placehold…
|
| H A D | complete-block-property-assignment.m | 40 // CHECK-CC1-NEXT: ObjCPropertyDecl:{ResultType void (^)(Obj *)}{TypedText onAction}{Equal = }{Pla… 42 // CHECK-CC1-NEXT: ObjCPropertyDecl:{ResultType FooBlock}{TypedText onEventHandler}{Equal = }{Plac… 45 // CHECK-CC1-NEXT: ObjCPropertyDecl:{ResultType int (^)(int)}{TypedText processEvent}{Equal = }{Pl…
|
| /llvm-project-15.0.7/llvm/test/Analysis/LoopAccessAnalysis/ |
| H A D | symbolic-stride.ll | 22 ; CHECK-NEXT: Equal predicate: %stride == 1 66 ; CHECK-NEXT: Equal predicate: %stride == 1 113 ; CHECK-NEXT: Equal predicate: %stride.2 == 1 114 ; CHECK-NEXT: Equal predicate: %stride.1 == 1
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ComparisonCategories.cpp | 187 case CCVT::Equal: in getResultString() 208 Values.push_back(IsStrong ? CCR::Equal : CCR::Equivalent); in getPossibleResultsForType()
|
| /llvm-project-15.0.7/lldb/include/lldb/Core/ |
| H A D | SourceLocationSpec.h | 152 static bool Equal(const SourceLocationSpec &lhs,
|
| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | real.cpp | 25 return y.IsNegative() ? Relation::Equal : Relation::Less; in Compare() 27 return y.IsNegative() ? Relation::Greater : Relation::Equal; in Compare() 38 return Relation::Equal; // +/-0.0 == -/+0.0 in Compare() 45 if (order == Ordering::Equal) { in Compare() 98 if (order == Ordering::Equal) { in Add() 316 } else if (cmp == Ordering::Equal && squared.lower.IsZero()) { in SQRT()
|
| /llvm-project-15.0.7/lldb/source/Core/ |
| H A D | SourceLocationSpec.cpp | 50 bool SourceLocationSpec::Equal(const SourceLocationSpec &lhs, in Equal() function in SourceLocationSpec
|
| H A D | FileSpecList.cpp | 75 if (FileSpec::Equal(m_files[idx], file_spec, full)) in FindFileIndex()
|
| /llvm-project-15.0.7/llvm/tools/llvm-profgen/ |
| H A D | PerfReader.h | 139 struct Equal { struct 209 Hashable<PerfSample>::Hash, Hashable<PerfSample>::Equal>; 416 Hashable<ContextKey>::Hash, Hashable<ContextKey>::Equal>;
|