Home
last modified time | relevance | path

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

123456

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDenseMapInfo.h89 static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
98 static bool isEqual(const char &LHS, const char &RHS) {
109 static bool isEqual(const unsigned char &LHS, const unsigned char &RHS) {
120 static bool isEqual(const unsigned short &LHS, const unsigned short &RHS) {
131 static bool isEqual(const unsigned& LHS, const unsigned& RHS) {
148 static bool isEqual(const unsigned long& LHS, const unsigned long& RHS) {
162 static bool isEqual(const unsigned long long& LHS,
173 static bool isEqual(const short &LHS, const short &RHS) { return LHS == RHS; }
182 static bool isEqual(const int& LHS, const int& RHS) {
199 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.h129 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) { in clear()
130 if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) { in clear()
409 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && in destroyAll()
410 !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) in destroyAll()
445 if (!KeyInfoT::isEqual(B->getFirst(), EmptyKey) && in moveFromOldBuckets()
446 !KeyInfoT::isEqual(B->getFirst(), TombstoneKey)) { in moveFromOldBuckets()
480 if (!KeyInfoT::isEqual(getBuckets()[i].getFirst(), getEmptyKey()) && in copyFrom()
481 !KeyInfoT::isEqual(getBuckets()[i].getFirst(), getTombstoneKey())) in copyFrom()
640 if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey)) in InsertIntoBucketImpl()
665 assert(!KeyInfoT::isEqual(Val, EmptyKey) && in LookupBucketFor()
[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.h80 if (ImutInfo::isEqual(K,CurrentKey)) in find()
121 if (!ImutInfo::isEqual(ImutInfo::KeyOfValue(getValue()), in isElementEqual()
140 bool isEqual(const ImutAVLTree& RHS) const { in isEqual() function
166 bool isNotEqual(const ImutAVLTree& RHS) const { return !isEqual(RHS); } in isNotEqual()
538 if (ImutInfo::isEqual(K,KCurrent))
558 if (ImutInfo::isEqual(K,KCurrent)) {
919 static bool isEqual(key_type_ref LHS, key_type_ref RHS) {
945 static bool isEqual(key_type_ref LHS, key_type_ref RHS) { return LHS == RHS; }
1031 return Root && RHS.Root ? Root->isEqual(*RHS.Root.get()) : Root == RHS.Root;
1126 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()
237 if (!KeyInfoT::isEqual(K, EmptyKey) && in forEach()
238 !KeyInfoT::isEqual(K, TombstoneKey)) { in forEach()
260 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && in destroyAll()
261 !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) in destroyAll()
295 if (!KeyInfoT::isEqual(B->getFirst(), EmptyKey) && in moveFromOldBuckets()
296 !KeyInfoT::isEqual(B->getFirst(), TombstoneKey)) { in moveFromOldBuckets()
331 if (!KeyInfoT::isEqual(getBuckets()[i].getFirst(), getEmptyKey()) && in copyFrom()
332 !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/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.cpp80 return llvm::DenseMapInfo<T>::isEqual( in isDenseMapKeyEmpty()
84 return llvm::DenseMapInfo<T>::isEqual( in isDenseMapKeyTombstone()
113 assert(!isEqual(Key, getEmptyKey()) && !isEqual(Key, getTombstoneKey())); in getHashValue()
116 static bool isEqual(DecompositionDeclName LHS, DecompositionDeclName RHS) { in isEqual() function
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DAttributes.td382 def : CompatRule<"isEqual<SanitizeAddressAttr>">;
383 def : CompatRule<"isEqual<SanitizeThreadAttr>">;
384 def : CompatRule<"isEqual<SanitizeMemoryAttr>">;
385 def : CompatRule<"isEqual<SanitizeHWAddressAttr>">;
386 def : CompatRule<"isEqual<SanitizeMemTagAttr>">;
387 def : CompatRule<"isEqual<SanitizeNumericalStabilityAttr>">;
388 def : CompatRule<"isEqual<SafeStackAttr>">;
389 def : CompatRule<"isEqual<ShadowCallStackAttr>">;
390 def : CompatRule<"isEqual<UseSampleProfileAttr>">;
391 def : CompatRule<"isEqual<NoProfileAttr>">;
[all …]
H A DValueHandle.h192 static bool isEqual(const WeakVH &LHS, const WeakVH &RHS) {
193 return DenseMapInfo<Value *>::isEqual(LHS, RHS);
543 static bool isEqual(const PoisoningVH<T> &LHS, const PoisoningVH<T> &RHS) {
544 return DenseMapInfo<Value *>::isEqual(LHS.getRawValPtr(),
555 static bool isEqual(const T *LHS, const PoisoningVH<T> &RHS) {
556 return DenseMapInfo<Value *>::isEqual(LHS, RHS.getRawValPtr());
H A DDominators.h138 static bool isEqual(const BasicBlockEdge &LHS, const BasicBlockEdge &RHS) {
139 return BBInfo::isEqual(LHS.getStart(), RHS.getStart()) &&
140 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) {
/freebsd/contrib/llvm-project/llvm/include/llvm/Linker/
H A DIRMover.h40 static bool isEqual(const KeyTy &LHS, const StructType *RHS);
41 static bool isEqual(const StructType *LHS, const StructType *RHS);
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCRegister.h119 static bool isEqual(const MCRegister &LHS, const MCRegister &RHS) {
120 return DenseMapInfo<unsigned>::isEqual(LHS.id(), RHS.id());
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRegister.h160 static bool isEqual(const Register &LHS, const Register &RHS) {
161 return DenseMapInfo<unsigned>::isEqual(LHS.id(), RHS.id());
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesFormat.h366 static bool isEqual(const clang::api_notes::StoredObjCSelector &LHS,
388 static bool isEqual(const clang::api_notes::ContextTableKey &lhs,
410 static bool isEqual(const clang::api_notes::SingleDeclTableKey &lhs,
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Inclusions/
H A DStandardLibrary.h133 static bool isEqual(const clang::tooling::stdlib::Header &LHS,
151 static bool isEqual(const clang::tooling::stdlib::Symbol &LHS,
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeHashing.h195 static bool isEqual(codeview::LocallyHashedType LHS,
215 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) {

123456