Home
last modified time | relevance | path

Searched refs:isEqual (Results 1 – 25 of 155) sorted by relevance

1234567

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDenseMapInfo.h90 static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
99 static bool isEqual(const char &LHS, const char &RHS) {
110 static bool isEqual(const unsigned char &LHS, const unsigned char &RHS) {
121 static bool isEqual(const unsigned short &LHS, const unsigned short &RHS) {
132 static bool isEqual(const unsigned& LHS, const unsigned& RHS) {
149 static bool isEqual(const unsigned long& LHS, const unsigned long& RHS) {
163 static bool isEqual(const unsigned long long& LHS,
174 static bool isEqual(const short &LHS, const short &RHS) { return LHS == RHS; }
183 static bool isEqual(const int& LHS, const int& RHS) {
200 static bool isEqual(const long& LHS, const long& RHS) {
[all …]
H A DCachedHashString.h58 assert(!isEqual(S, getEmptyKey()) && "Cannot hash the empty key!");
59 assert(!isEqual(S, getTombstoneKey()) && "Cannot hash the tombstone key!");
62 static bool isEqual(const CachedHashStringRef &LHS,
65 DenseMapInfo<StringRef>::isEqual(LHS.val(), RHS.val());
163 assert(!isEqual(S, getEmptyKey()) && "Cannot hash the empty key!");
164 assert(!isEqual(S, getTombstoneKey()) && "Cannot hash the tombstone key!");
167 static bool isEqual(const CachedHashString &LHS,
H A DDenseMap.h151 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) { in clear()
152 if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) { in clear()
428 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && in destroyAll()
429 !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) in destroyAll()
464 if (!KeyInfoT::isEqual(B->getFirst(), EmptyKey) && in moveFromOldBuckets()
465 !KeyInfoT::isEqual(B->getFirst(), TombstoneKey)) { in moveFromOldBuckets()
503 if (!KeyInfoT::isEqual(Buckets[I].getFirst(), EmptyKey) && in copyFrom()
504 !KeyInfoT::isEqual(Buckets[I].getFirst(), TombstoneKey)) in copyFrom()
644 if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey)) in InsertIntoBucketImpl()
661 if (LLVM_LIKELY(KeyInfoT::isEqual(Val, Bucket->getFirst()))) in doFind()
[all …]
H A DImmutableMap.h44 static inline bool isEqual(key_type_ref L, key_type_ref R) { in isEqual() function
45 return ImutContainerInfo<T>::isEqual(L,R); in isEqual()
52 return ImutContainerInfo<S>::isEqual(L,R); in isDataEqual()
119 return Root && RHS.Root ? Root->isEqual(*RHS.Root.get()) : Root == RHS.Root;
262 return Root && RHS.Root ? Root->isEqual(*RHS.Root.get()) : Root == RHS.Root;
H A DDenseMapInfoVariant.h49 static bool isEqual(const Variant &LHS, const Variant &RHS) {
62 return DenseMapInfo<T>::isEqual(*static_cast<const T *>(ErasedLHS),
H A DImmutableSet.h81 if (ImutInfo::isEqual(K,CurrentKey)) in find()
122 if (!ImutInfo::isEqual(ImutInfo::KeyOfValue(getValue()), in isElementEqual()
141 bool isEqual(const ImutAVLTree& RHS) const { in isEqual() function
167 bool isNotEqual(const ImutAVLTree& RHS) const { return !isEqual(RHS); } in isNotEqual()
542 if (ImutInfo::isEqual(K,KCurrent))
562 if (ImutInfo::isEqual(K,KCurrent)) {
923 static bool isEqual(key_type_ref LHS, key_type_ref RHS) {
949 static bool isEqual(key_type_ref LHS, key_type_ref RHS) { return LHS == RHS; }
1035 return Root && RHS.Root ? Root->isEqual(*RHS.Root.get()) : Root == RHS.Root;
1130 return Root && RHS.Root ? Root->isEqual(*RHS.Root.get()) : Root == RHS.Root;
H A DImmutableList.h128 bool isEqual(const ImmutableList& L) const { return X == L.X; } in isEqual() function
130 bool operator==(const ImmutableList& L) const { return isEqual(L); }
239 static bool isEqual(ImmutableList<T> X1, ImmutableList<T> X2) {
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_dense_map_info.h99 static constexpr bool isEqual(const T *LHS, const T *RHS) {
111 static constexpr bool isEqual(const char &LHS, const char &RHS) {
125 static constexpr bool isEqual(const unsigned char &LHS,
140 static constexpr bool isEqual(const unsigned short &LHS,
155 static constexpr bool isEqual(const unsigned &LHS, const unsigned &RHS) {
170 static constexpr bool isEqual(const unsigned long &LHS,
186 static constexpr bool isEqual(const unsigned long long &LHS,
198 static constexpr bool isEqual(const short &LHS, const short &RHS) {
212 static constexpr bool isEqual(const int &LHS, const int &RHS) {
230 static constexpr bool isEqual(const long &LHS, const long &RHS) {
[all …]
H A Dsanitizer_dense_map.h58 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) { in clear()
59 if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) { in clear()
220 if (!KeyInfoT::isEqual(K, EmptyKey) && in forEach()
221 !KeyInfoT::isEqual(K, TombstoneKey)) { in forEach()
243 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && in destroyAll()
244 !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) in destroyAll()
278 if (!KeyInfoT::isEqual(B->getFirst(), EmptyKey) && in moveFromOldBuckets()
279 !KeyInfoT::isEqual(B->getFirst(), TombstoneKey)) { in moveFromOldBuckets()
314 if (!KeyInfoT::isEqual(getBuckets()[i].getFirst(), getEmptyKey()) && in copyFrom()
315 !KeyInfoT::isEqual(getBuckets()[i].getFirst(), getTombstoneKey())) in copyFrom()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/PBQP/
H A DCostAllocator.h70 static bool isEqual(const ValueKeyT1 &C1, const ValueKeyT2 &C2) { in isEqual() function
75 static bool isEqual(const ValueKeyT &C, PoolEntry *P) { in isEqual() function
78 return isEqual(C, P->getValue()); in isEqual()
81 static bool isEqual(PoolEntry *P1, PoolEntry *P2) { in isEqual() function
84 return isEqual(P1->getValue(), P2); in isEqual()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DUniqueBBID.h42 static bool isEqual(const UniqueBBID &LHS, const UniqueBBID &RHS) {
43 return DenseMapInfo<unsigned>::isEqual(LHS.BaseID, RHS.BaseID) &&
44 DenseMapInfo<unsigned>::isEqual(LHS.CloneID, RHS.CloneID);
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DWasmTraits.h41 static bool isEqual(const wasm::WasmSignature &LHS,
58 static bool isEqual(const wasm::WasmGlobalType &LHS,
80 static bool isEqual(const wasm::WasmLimits &LHS,
102 static bool isEqual(const wasm::WasmTableType &LHS,
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DItaniumCXXABI.cpp79 return llvm::DenseMapInfo<T>::isEqual( in isDenseMapKeyEmpty()
83 return llvm::DenseMapInfo<T>::isEqual( in isDenseMapKeyTombstone()
112 assert(!isEqual(Key, getEmptyKey()) && !isEqual(Key, getTombstoneKey())); in getHashValue()
115 static bool isEqual(DecompositionDeclName LHS, DecompositionDeclName RHS) { in isEqual() function
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DAttributes.td443 def : CompatRule<"isEqual<SanitizeAddressAttr>">;
444 def : CompatRule<"isEqual<SanitizeThreadAttr>">;
445 def : CompatRule<"isEqual<SanitizeTypeAttr>">;
446 def : CompatRule<"isEqual<SanitizeMemoryAttr>">;
447 def : CompatRule<"isEqual<SanitizeHWAddressAttr>">;
448 def : CompatRule<"isEqual<SanitizeMemTagAttr>">;
449 def : CompatRule<"isEqual<SanitizeNumericalStabilityAttr>">;
450 def : CompatRule<"isEqual<SanitizeRealtimeAttr>">;
451 def : CompatRule<"isEqual<SanitizeRealtimeBlockingAttr>">;
452 def : CompatRule<"isEqual<SafeStackAttr>">;
[all …]
H A DValueHandle.h193 static bool isEqual(const WeakVH &LHS, const WeakVH &RHS) {
194 return DenseMapInfo<Value *>::isEqual(LHS, RHS);
544 static bool isEqual(const PoisoningVH<T> &LHS, const PoisoningVH<T> &RHS) {
545 return DenseMapInfo<Value *>::isEqual(LHS.getRawValPtr(),
556 static bool isEqual(const T *LHS, const PoisoningVH<T> &RHS) {
557 return DenseMapInfo<Value *>::isEqual(LHS, RHS.getRawValPtr());
H A DDominators.h141 static bool isEqual(const BasicBlockEdge &LHS, const BasicBlockEdge &RHS) {
142 return BBInfo::isEqual(LHS.getStart(), RHS.getStart()) &&
143 BBInfo::isEqual(LHS.getEnd(), RHS.getEnd());
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DWeak.h48 static bool isEqual(const WeakInfo &LHS, const WeakInfo &RHS) { in isEqual() function
49 return DenseMapInfo::isEqual(LHS.getAlias(), RHS.getAlias()); in isEqual()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTypeOrdering.h51 static bool isEqual(clang::QualType LHS, clang::QualType RHS) {
71 static bool isEqual(clang::CanQualType LHS, clang::CanQualType RHS) {
H A DDeclID.h260 static bool isEqual(const GlobalDeclID &L, const GlobalDeclID &R) {
281 static bool isEqual(const LocalDeclID &L, const LocalDeclID &R) {
/freebsd/contrib/llvm-project/llvm/include/llvm/Linker/
H A DIRMover.h41 LLVM_ABI static bool isEqual(const KeyTy &LHS, const StructType *RHS);
42 LLVM_ABI static bool isEqual(const StructType *LHS, const StructType *RHS);
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesFormat.h384 static bool isEqual(const clang::api_notes::StoredObjCSelector &LHS,
406 static bool isEqual(const clang::api_notes::ContextTableKey &lhs,
428 static bool isEqual(const clang::api_notes::SingleDeclTableKey &lhs,
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Inclusions/
H A DStandardLibrary.h134 static bool isEqual(const clang::tooling::stdlib::Header &LHS,
152 static bool isEqual(const clang::tooling::stdlib::Symbol &LHS,
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeHashing.h197 static bool isEqual(codeview::LocallyHashedType LHS,
217 static bool isEqual(codeview::GloballyHashedType LHS,
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIteratorRangeChecker.cpp295 bool isEqual(ProgramStateRef State, SymbolRef Sym1, SymbolRef Sym2);
312 if (isEqual(State, Pos.getOffset(), End)) { in isPastTheEnd()
360 bool isEqual(ProgramStateRef State, SymbolRef Sym1, SymbolRef Sym2) { in isEqual() function
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DMemoryFlags.h220 static bool isEqual(const orc::MemProt &LHS, const orc::MemProt &RHS) {
235 static bool isEqual(const orc::AllocGroup &LHS, const orc::AllocGroup &RHS) {

1234567