Home
last modified time | relevance | path

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

123456

/openbsd/gnu/llvm/llvm/include/llvm/ADT/
H A DDenseMapInfo.h97 static bool isEqual(const char &LHS, const char &RHS) {
130 static bool isEqual(const unsigned& LHS, const unsigned& RHS) {
158 static bool isEqual(const unsigned long long& LHS,
178 static bool isEqual(const int& LHS, const int& RHS) {
195 static bool isEqual(const long& LHS, const long& RHS) {
209 static bool isEqual(const long long& LHS,
237 static bool isEqual(const Pair &LHS, const Pair &RHS) {
238 return FirstInfo::isEqual(LHS.first, RHS.first) &&
239 SecondInfo::isEqual(LHS.second, RHS.second);
287 static bool isEqual(const Tuple &lhs, const Tuple &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()
366 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && in destroyAll()
367 !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) in destroyAll()
402 if (!KeyInfoT::isEqual(B->getFirst(), EmptyKey) && in moveFromOldBuckets()
403 !KeyInfoT::isEqual(B->getFirst(), TombstoneKey)) { in moveFromOldBuckets()
597 if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey)) in InsertIntoBucketImpl()
622 assert(!KeyInfoT::isEqual(Val, EmptyKey) && in LookupBucketFor()
623 !KeyInfoT::isEqual(Val, TombstoneKey) && in LookupBucketFor()
996 if (!KeyInfoT::isEqual(NewB->getFirst(), EmptyKey) && in swap()
[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 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) {
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;
/openbsd/gnu/llvm/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,
170 static constexpr bool isEqual(const unsigned long &LHS,
186 static constexpr bool isEqual(const unsigned long long &LHS,
212 static constexpr bool isEqual(const int &LHS, const int &RHS) {
230 static constexpr bool isEqual(const long &LHS, const long &RHS) {
274 static constexpr bool isEqual(const Pair &LHS, const Pair &RHS) {
275 return FirstInfo::isEqual(LHS.first, RHS.first) &&
[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()
446 if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey)) in InsertIntoBucketImpl()
471 CHECK(!KeyInfoT::isEqual(Val, EmptyKey)); in LookupBucketFor()
[all …]
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/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,
101 static bool isEqual(const wasm::WasmTableType &LHS,
/openbsd/gnu/llvm/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
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/include/llvm/IR/
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 DAttributes.td331 def : CompatRule<"isEqual<SanitizeAddressAttr>">;
332 def : CompatRule<"isEqual<SanitizeThreadAttr>">;
333 def : CompatRule<"isEqual<SanitizeMemoryAttr>">;
334 def : CompatRule<"isEqual<SanitizeHWAddressAttr>">;
335 def : CompatRule<"isEqual<SanitizeMemTagAttr>">;
336 def : CompatRule<"isEqual<SafeStackAttr>">;
337 def : CompatRule<"isEqual<ShadowCallStackAttr>">;
338 def : CompatRule<"isEqual<UseSampleProfileAttr>">;
339 def : CompatRule<"isEqual<NoProfileAttr>">;
H A DDominators.h142 static bool isEqual(const BasicBlockEdge &LHS, const BasicBlockEdge &RHS) {
143 return BBInfo::isEqual(LHS.getStart(), RHS.getStart()) &&
144 BBInfo::isEqual(LHS.getEnd(), RHS.getEnd());
/openbsd/gnu/llvm/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 DASTTypeTraits.h116 static bool isEqual(const ASTNodeKind &LHS, const ASTNodeKind &RHS) { in isEqual() function
394 static bool isEqual(const DynTypedNode &LHS, const DynTypedNode &RHS) {
397 return (ASTNodeKind::DenseMapInfo::isEqual(LHS.NodeKind, Empty) &&
398 ASTNodeKind::DenseMapInfo::isEqual(RHS.NodeKind, Empty)) ||
399 (ASTNodeKind::DenseMapInfo::isEqual(LHS.NodeKind, TombStone) &&
400 ASTNodeKind::DenseMapInfo::isEqual(RHS.NodeKind, TombStone)) ||
/openbsd/gnu/llvm/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);
/openbsd/gnu/llvm/llvm/include/llvm/MC/
H A DMCRegister.h106 static bool isEqual(const MCRegister &LHS, const MCRegister &RHS) {
107 return DenseMapInfo<unsigned>::isEqual(LHS.id(), RHS.id());
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/
H A DRegister.h158 static bool isEqual(const Register &LHS, const Register &RHS) {
159 return DenseMapInfo<unsigned>::isEqual(LHS.id(), RHS.id());
/openbsd/gnu/llvm/clang/include/clang/Tooling/Inclusions/
H A DStandardLibrary.h122 static bool isEqual(const clang::tooling::stdlib::Header &LHS,
138 static bool isEqual(const clang::tooling::stdlib::Symbol &LHS,
/openbsd/gnu/llvm/llvm/tools/llvm-profgen/
H A DPerfReader.h142 return LHS.Data->isEqual(RHS.Data.get()); in operator()
173 bool isEqual(const PerfSample *Other) const { in isEqual() function
342 virtual bool isEqual(const ContextKey *K) const { in isEqual() function
363 bool isEqual(const ContextKey *K) const override { in isEqual() function
383 bool isEqual(const ContextKey *K) const override { in isEqual() function
/openbsd/gnu/llvm/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DMemoryFlags.h204 static bool isEqual(const orc::MemProt &LHS, const orc::MemProt &RHS) {
219 static bool isEqual(const orc::AllocGroup &LHS, const orc::AllocGroup &RHS) {
/openbsd/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeHashing.h195 static bool isEqual(codeview::LocallyHashedType LHS,
215 static bool isEqual(codeview::GloballyHashedType LHS,
/openbsd/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DBypassSlowDivision.h42 static bool isEqual(const DivRemMapKey &Val1, const DivRemMapKey &Val2) {

123456