/external/llvm/include/llvm/ADT/ |
D | DenseMapInfo.h | 26 struct DenseMapInfo { struct 35 Hash = DenseMapInfo<T>::getHashValue(Val); in CachedHash() 43 template <typename T> struct DenseMapInfo<CachedHash<T>> { 45 T N = DenseMapInfo<T>::getEmptyKey(); 49 T N = DenseMapInfo<T>::getTombstoneKey(); 59 return DenseMapInfo<T>::isEqual(A.Val, B.Val); 65 struct DenseMapInfo<T*> { 84 template<> struct DenseMapInfo<char> { 94 template<> struct DenseMapInfo<unsigned> { 104 template<> struct DenseMapInfo<unsigned long> { [all …]
|
D | PointerSumType.h | 178 struct DenseMapInfo<PointerSumType<TagT, MemberTs...>> { 185 typedef DenseMapInfo<SomePointerT> SomePointerInfo; 196 return DenseMapInfo<uintptr_t>::getHashValue(OpaqueValue);
|
D | PointerEmbeddedInt.h | 103 struct DenseMapInfo<PointerEmbeddedInt<IntT, Bits>> { 106 typedef DenseMapInfo<IntT> IntInfo;
|
D | ScopedHashTable.h | 39 template <typename K, typename V, typename KInfo = DenseMapInfo<K>, 80 template <typename K, typename V, typename KInfo = DenseMapInfo<K>, 112 template <typename K, typename V, typename KInfo = DenseMapInfo<K>>
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | DenseMapInfo.h | 23 struct DenseMapInfo { struct 32 struct DenseMapInfo<T*> { 51 template<> struct DenseMapInfo<char> { 61 template<> struct DenseMapInfo<unsigned> { 71 template<> struct DenseMapInfo<unsigned long> { 83 template<> struct DenseMapInfo<unsigned long long> { 96 template<> struct DenseMapInfo<int> { 106 template<> struct DenseMapInfo<long> { 120 template<> struct DenseMapInfo<long long> { 134 struct DenseMapInfo<std::pair<T, U> > { [all …]
|
D | ValueMap.h | 76 typename ValueInfoT = DenseMapInfo<ValueT> > 80 typedef DenseMap<ValueMapCVH, ValueT, DenseMapInfo<ValueMapCVH>, 196 friend struct DenseMapInfo<ValueMapCallbackVH>; 248 struct DenseMapInfo<ValueMapCallbackVH<KeyT, ValueT, Config, ValueInfoT> > { 250 typedef DenseMapInfo<KeyT> PointerInfo;
|
/external/clang/lib/CodeGen/ |
D | CodeGenTBAA.h | 126 template<> struct DenseMapInfo<clang::CodeGen::TBAAPathTag> { 129 DenseMapInfo<const clang::Type *>::getEmptyKey(), 130 DenseMapInfo<const MDNode *>::getEmptyKey(), 131 DenseMapInfo<uint64_t>::getEmptyKey()); 136 DenseMapInfo<const clang::Type *>::getTombstoneKey(), 137 DenseMapInfo<const MDNode *>::getTombstoneKey(), 138 DenseMapInfo<uint64_t>::getTombstoneKey()); 142 return DenseMapInfo<const clang::Type *>::getHashValue(Val.BaseT) ^ 143 DenseMapInfo<const MDNode *>::getHashValue(Val.AccessN) ^ 144 DenseMapInfo<uint64_t>::getHashValue(Val.Offset);
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | EarlyCSE.cpp | 36 return DenseMapInfo<const void*>::getHashValue(V); in getHash() 54 return Inst == DenseMapInfo<Instruction*>::getEmptyKey() || in isSentinel() 55 Inst == DenseMapInfo<Instruction*>::getTombstoneKey(); in isSentinel() 77 template<> struct DenseMapInfo<SimpleValue> { struct 79 return DenseMapInfo<Instruction*>::getEmptyKey(); in getEmptyKey() 82 return DenseMapInfo<Instruction*>::getTombstoneKey(); in getTombstoneKey() 89 unsigned DenseMapInfo<SimpleValue>::getHashValue(SimpleValue Val) { in getHashValue() 122 bool DenseMapInfo<SimpleValue>::isEqual(SimpleValue LHS, SimpleValue RHS) { in isEqual() 147 return Inst == DenseMapInfo<Instruction*>::getEmptyKey() || in isSentinel() 148 Inst == DenseMapInfo<Instruction*>::getTombstoneKey(); in isSentinel() [all …]
|
/external/clang/include/clang/AST/ |
D | BaseSubobject.h | 54 template<> struct DenseMapInfo<clang::BaseSubobject> { 57 DenseMapInfo<const clang::CXXRecordDecl *>::getEmptyKey(), 58 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getEmptyKey())); 63 DenseMapInfo<const clang::CXXRecordDecl *>::getTombstoneKey(), 64 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getTombstoneKey())); 69 return DenseMapInfo<PairTy>::getHashValue(PairTy(Base.getBase(),
|
D | ASTTypeTraits.h | 97 struct DenseMapInfo { struct 328 struct DenseMapInfo { 331 Node.NodeKind = ASTNodeKind::DenseMapInfo::getEmptyKey(); 336 Node.NodeKind = ASTNodeKind::DenseMapInfo::getTombstoneKey(); 358 auto Empty = ASTNodeKind::DenseMapInfo::getEmptyKey(); 359 auto TombStone = ASTNodeKind::DenseMapInfo::getTombstoneKey(); 360 return (ASTNodeKind::DenseMapInfo::isEqual(LHS.NodeKind, Empty) && 361 ASTNodeKind::DenseMapInfo::isEqual(RHS.NodeKind, Empty)) || 362 (ASTNodeKind::DenseMapInfo::isEqual(LHS.NodeKind, TombStone) && 363 ASTNodeKind::DenseMapInfo::isEqual(RHS.NodeKind, TombStone)) || [all …]
|
D | TypeOrdering.h | 38 template<class> struct DenseMapInfo; 40 template<> struct DenseMapInfo<clang::QualType> { 58 template<> struct DenseMapInfo<clang::CanQualType> {
|
D | CharUnits.h | 215 template<> struct DenseMapInfo<clang::CharUnits> { 218 DenseMapInfo<clang::CharUnits::QuantityType>::getEmptyKey(); 225 DenseMapInfo<clang::CharUnits::QuantityType>::getTombstoneKey(); 232 return DenseMapInfo<clang::CharUnits::QuantityType>::getHashValue(Quantity);
|
D | GlobalDecl.h | 96 template<class> struct DenseMapInfo; 98 template<> struct DenseMapInfo<clang::GlobalDecl> { 109 return DenseMapInfo<void*>::getHashValue(GD.getAsOpaquePtr());
|
/external/llvm/lib/Analysis/ |
D | AliasAnalysisSummary.h | 171 template <> struct DenseMapInfo<cflaa::InstantiatedValue> { 173 return cflaa::InstantiatedValue{DenseMapInfo<Value *>::getEmptyKey(), 174 DenseMapInfo<unsigned>::getEmptyKey()}; 177 return cflaa::InstantiatedValue{DenseMapInfo<Value *>::getTombstoneKey(), 178 DenseMapInfo<unsigned>::getTombstoneKey()}; 181 return DenseMapInfo<std::pair<Value *, unsigned>>::getHashValue(
|
/external/llvm/include/llvm/Analysis/ |
D | MemoryLocation.h | 124 template <> struct DenseMapInfo<MemoryLocation> { 126 return MemoryLocation(DenseMapInfo<const Value *>::getEmptyKey(), 0); 129 return MemoryLocation(DenseMapInfo<const Value *>::getTombstoneKey(), 0); 132 return DenseMapInfo<const Value *>::getHashValue(Val.Ptr) ^ 133 DenseMapInfo<uint64_t>::getHashValue(Val.Size) ^ 134 DenseMapInfo<AAMDNodes>::getHashValue(Val.AATags);
|
D | AliasSetTracker.h | 50 AAInfo(DenseMapInfo<AAMDNodes>::getEmptyKey()) {} in PointerRec() 69 if (AAInfo == DenseMapInfo<AAMDNodes>::getEmptyKey()) in updateSizeAndAAInfo() 74 AAInfo = DenseMapInfo<AAMDNodes>::getTombstoneKey(); in updateSizeAndAAInfo() 85 if (AAInfo == DenseMapInfo<AAMDNodes>::getEmptyKey() || in getAAInfo() 86 AAInfo == DenseMapInfo<AAMDNodes>::getTombstoneKey()) in getAAInfo() 305 struct ASTCallbackVHDenseMapInfo : public DenseMapInfo<Value *> {};
|
/external/llvm/lib/Transforms/Scalar/ |
D | EarlyCSE.cpp | 62 return Inst == DenseMapInfo<Instruction *>::getEmptyKey() || in isSentinel() 63 Inst == DenseMapInfo<Instruction *>::getTombstoneKey(); in isSentinel() 80 template <> struct DenseMapInfo<SimpleValue> { struct 82 return DenseMapInfo<Instruction *>::getEmptyKey(); in getEmptyKey() 85 return DenseMapInfo<Instruction *>::getTombstoneKey(); in getTombstoneKey() 92 unsigned DenseMapInfo<SimpleValue>::getHashValue(SimpleValue Val) { in getHashValue() 139 bool DenseMapInfo<SimpleValue>::isEqual(SimpleValue LHS, SimpleValue RHS) { in isEqual() 191 return Inst == DenseMapInfo<Instruction *>::getEmptyKey() || in isSentinel() 192 Inst == DenseMapInfo<Instruction *>::getTombstoneKey(); in isSentinel() 209 template <> struct DenseMapInfo<CallValue> { struct [all …]
|
/external/llvm/include/llvm/IR/ |
D | ValueHandle.h | 108 V != DenseMapInfo<Value *>::getEmptyKey() && in isValid() 109 V != DenseMapInfo<Value *>::getTombstoneKey(); in isValid() 198 friend struct DenseMapInfo<AssertingVH<ValueTy> >; 244 struct DenseMapInfo<AssertingVH<T> > { 247 Res.setRawValPtr(DenseMapInfo<Value *>::getEmptyKey()); 252 Res.setRawValPtr(DenseMapInfo<Value *>::getTombstoneKey()); 256 return DenseMapInfo<Value *>::getHashValue(Val.getRawValPtr()); 259 return DenseMapInfo<Value *>::isEqual(LHS.getRawValPtr(),
|
D | ValueMap.h | 84 typedef DenseMap<ValueMapCVH, ValueT, DenseMapInfo<ValueMapCVH> > MapT; 239 friend struct DenseMapInfo<ValueMapCallbackVH>; 292 struct DenseMapInfo<ValueMapCallbackVH<KeyT, ValueT, Config> > { 296 return VH(DenseMapInfo<Value *>::getEmptyKey()); 299 return VH(DenseMapInfo<Value *>::getTombstoneKey()); 302 return DenseMapInfo<KeyT>::getHashValue(Val.Unwrap()); 305 return DenseMapInfo<KeyT>::getHashValue(Val);
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | AliasSetTracker.h | 48 TBAAInfo(DenseMapInfo<const MDNode *>::getEmptyKey()) {} in PointerRec() 63 if (TBAAInfo == DenseMapInfo<const MDNode *>::getEmptyKey()) in updateSizeAndTBAAInfo() 68 TBAAInfo = DenseMapInfo<const MDNode *>::getTombstoneKey(); in updateSizeAndTBAAInfo() 77 if (TBAAInfo == DenseMapInfo<const MDNode *>::getEmptyKey() || in getTBAAInfo() 78 TBAAInfo == DenseMapInfo<const MDNode *>::getTombstoneKey()) in getTBAAInfo() 294 struct ASTCallbackVHDenseMapInfo : public DenseMapInfo<Value *> {};
|
D | AliasAnalysis.h | 534 struct DenseMapInfo<AliasAnalysis::Location> { 537 AliasAnalysis::Location(DenseMapInfo<const Value *>::getEmptyKey(), 542 AliasAnalysis::Location(DenseMapInfo<const Value *>::getTombstoneKey(), 546 return DenseMapInfo<const Value *>::getHashValue(Val.Ptr) ^ 547 DenseMapInfo<uint64_t>::getHashValue(Val.Size) ^ 548 DenseMapInfo<const MDNode *>::getHashValue(Val.TBAATag);
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | DebugLoc.h | 28 friend struct DenseMapInfo<DebugLoc>; 105 struct DenseMapInfo<DebugLoc> {
|
D | ValueHandle.h | 100 V != DenseMapInfo<Value *>::getEmptyKey() && in isValid() 101 V != DenseMapInfo<Value *>::getTombstoneKey(); in isValid() 243 struct DenseMapInfo<AssertingVH<T> > { 244 typedef DenseMapInfo<T*> PointerInfo;
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | DebugLoc.cpp | 167 DebugLoc DenseMapInfo<DebugLoc>::getEmptyKey() { in getEmptyKey() 171 DebugLoc DenseMapInfo<DebugLoc>::getTombstoneKey() { in getTombstoneKey() 175 unsigned DenseMapInfo<DebugLoc>::getHashValue(const DebugLoc &Key) { in getHashValue() 182 bool DenseMapInfo<DebugLoc>::isEqual(const DebugLoc &LHS, const DebugLoc &RHS) { in isEqual()
|
/external/llvm/lib/Transforms/IPO/ |
D | WholeProgramDevirt.cpp | 185 template <> struct DenseMapInfo<VTableSlot> { struct 187 return {DenseMapInfo<Metadata *>::getEmptyKey(), in getEmptyKey() 188 DenseMapInfo<uint64_t>::getEmptyKey()}; in getEmptyKey() 191 return {DenseMapInfo<Metadata *>::getTombstoneKey(), in getTombstoneKey() 192 DenseMapInfo<uint64_t>::getTombstoneKey()}; in getTombstoneKey() 195 return DenseMapInfo<Metadata *>::getHashValue(I.TypeID) ^ in getHashValue() 196 DenseMapInfo<uint64_t>::getHashValue(I.ByteOffset); in getHashValue()
|