Searched defs:DenseMapInfo (Results 1 - 25 of 54) sorted by relevance

123

/external/clang/include/clang/AST/
H A DTypeOrdering.h38 template<class> struct DenseMapInfo;
40 template<> struct DenseMapInfo<clang::QualType> { struct in namespace:llvm
58 template<> struct DenseMapInfo<clang::CanQualType> { struct in namespace:llvm
H A DBaseSubobject.h54 template<> struct DenseMapInfo<clang::BaseSubobject> { struct in namespace:llvm
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(),
H A DGlobalDecl.h96 template<class> struct DenseMapInfo;
98 template<> struct DenseMapInfo<clang::GlobalDecl> { struct in namespace:llvm
109 return DenseMapInfo<void*>::getHashValue(GD.getAsOpaquePtr());
H A DCharUnits.h17 #include "llvm/ADT/DenseMapInfo.h"
215 template<> struct DenseMapInfo<clang::CharUnits> { struct in namespace:llvm
218 DenseMapInfo<clang::CharUnits::QuantityType>::getEmptyKey();
225 DenseMapInfo<clang::CharUnits::QuantityType>::getTombstoneKey();
232 return DenseMapInfo<clang::CharUnits::QuantityType>::getHashValue(Quantity);
H A DASTTypeTraits.h26 #include "llvm/ADT/DenseMapInfo.h"
97 struct DenseMapInfo { struct in class:clang::ast_type_traits::ASTNodeKind
328 struct DenseMapInfo { struct in class:clang::ast_type_traits::DynTypedNode
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
502 struct DenseMapInfo<clang::ast_type_traits::ASTNodeKind> struct in namespace:llvm
506 struct DenseMapInfo<clang::ast_type_traits::DynTypedNode> struct in namespace:llvm
[all...]
H A DDeclarationName.h21 template <typename T> struct DenseMapInfo;
574 /// Define DenseMapInfo so that DeclarationNames can be used as keys
577 struct DenseMapInfo<clang::DeclarationName> { struct in namespace:llvm
587 return DenseMapInfo<void*>::getHashValue(Name.getAsOpaquePtr());
/external/swiftshader/third_party/LLVM/include/llvm/Support/
H A DDebugLoc.h18 #include "llvm/ADT/DenseMapInfo.h"
28 friend struct DenseMapInfo<DebugLoc>;
105 struct DenseMapInfo<DebugLoc> { struct in namespace:llvm
H A DValueHandle.h17 #include "llvm/ADT/DenseMapInfo.h"
100 V != DenseMapInfo<Value *>::getEmptyKey() &&
101 V != DenseMapInfo<Value *>::getTombstoneKey();
241 // Specialize DenseMapInfo to allow AssertingVH to participate in DenseMap.
243 struct DenseMapInfo<AssertingVH<T> > { struct in namespace:llvm
244 typedef DenseMapInfo<T*> PointerInfo;
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
H A DDenseMapInfo.h1 //===- llvm/ADT/DenseMapInfo.h - Type traits for DenseMap -------*- C++ -*-===//
10 // This file defines DenseMapInfo traits for DenseMap.
23 struct DenseMapInfo { struct in namespace:llvm
30 // Provide DenseMapInfo for all pointers.
32 struct DenseMapInfo<T*> { struct in namespace:llvm
50 // Provide DenseMapInfo for chars.
51 template<> struct DenseMapInfo<char> { struct in namespace:llvm
60 // Provide DenseMapInfo for unsigned ints.
61 template<> struct DenseMapInfo<unsigned> { struct in namespace:llvm
70 // Provide DenseMapInfo fo
71 template<> struct DenseMapInfo<unsigned long> { struct in namespace:llvm
83 template<> struct DenseMapInfo<unsigned long long> { struct in namespace:llvm
96 template<> struct DenseMapInfo<int> { struct in namespace:llvm
106 template<> struct DenseMapInfo<long> { struct in namespace:llvm
120 template<> struct DenseMapInfo<long long> { struct in namespace:llvm
134 struct DenseMapInfo<std::pair<T, U> > { struct in namespace:llvm
[all...]
H A DImmutableList.h206 template<typename T> struct DenseMapInfo;
207 template<typename T> struct DenseMapInfo<ImmutableList<T> > { struct in namespace:llvm
/external/llvm/include/llvm/ADT/
H A DDenseMapInfo.h1 //===- llvm/ADT/DenseMapInfo.h - Type traits for DenseMap -------*- C++ -*-===//
10 // This file defines DenseMapInfo traits for DenseMap.
26 struct DenseMapInfo { struct in namespace:llvm
35 Hash = DenseMapInfo<T>::getHashValue(Val);
42 // Provide DenseMapInfo for all CachedHash<T>.
43 template <typename T> struct DenseMapInfo<CachedHash<T>> { struct in namespace:llvm
45 T N = DenseMapInfo<T>::getEmptyKey();
49 T N = DenseMapInfo<T>::getTombstoneKey();
59 return DenseMapInfo<T>::isEqual(A.Val, B.Val);
63 // Provide DenseMapInfo fo
65 struct DenseMapInfo<T*> { struct in namespace:llvm
84 template<> struct DenseMapInfo<char> { struct in namespace:llvm
94 template<> struct DenseMapInfo<unsigned> { struct in namespace:llvm
104 template<> struct DenseMapInfo<unsigned long> { struct in namespace:llvm
116 template<> struct DenseMapInfo<unsigned long long> { struct in namespace:llvm
129 template<> struct DenseMapInfo<int> { struct in namespace:llvm
139 template<> struct DenseMapInfo<long> { struct in namespace:llvm
153 template<> struct DenseMapInfo<long long> { struct in namespace:llvm
167 struct DenseMapInfo<std::pair<T, U> > { struct in namespace:llvm
200 template <> struct DenseMapInfo<StringRef> { struct in namespace:llvm
225 template <typename T> struct DenseMapInfo<ArrayRef<T>> { struct in namespace:llvm
[all...]
H A DImmutableList.h205 template<typename T> struct DenseMapInfo;
206 template<typename T> struct DenseMapInfo<ImmutableList<T> > { struct in namespace:llvm
H A DPointerUnion.h18 #include "llvm/ADT/DenseMapInfo.h"
450 template <typename T, typename U> struct DenseMapInfo<PointerUnion<T, U>> { struct in namespace:llvm
452 typedef DenseMapInfo<T> FirstInfo;
453 typedef DenseMapInfo<U> SecondInfo;
461 return DenseMapInfo<intptr_t>::getHashValue(key);
/external/llvm/include/llvm/Analysis/
H A DMemoryLocation.h19 #include "llvm/ADT/DenseMapInfo.h"
123 // Specialize DenseMapInfo for MemoryLocation.
124 template <> struct DenseMapInfo<MemoryLocation> { struct in class:llvm::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);
/external/clang/lib/CodeGen/
H A DCodeGenTBAA.h126 template<> struct DenseMapInfo<clang::CodeGen::TBAAPathTag> { struct in namespace:llvm
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_
[all...]
/external/llvm/lib/Analysis/
H A DAliasAnalysisSummary.h38 #include "llvm/ADT/DenseMapInfo.h"
171 template <> struct DenseMapInfo<cflaa::InstantiatedValue> { struct in namespace:llvm
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/unittests/ADT/
H A DDenseMapTest.cpp508 template <> struct DenseMapInfo<CachedHashTest> { struct in namespace:llvm
/external/llvm/include/llvm/IR/
H A DAttributes.h37 template<typename T> struct DenseMapInfo;
213 template <typename Ty> friend struct DenseMapInfo;
418 /// \brief Provide DenseMapInfo for AttributeSet.
419 template<> struct DenseMapInfo<AttributeSet> { struct in class:llvm::AttributeSet
H A DDominators.h18 #include "llvm/ADT/DenseMapInfo.h"
58 template <> struct DenseMapInfo<BasicBlockEdge> { struct in namespace:llvm
60 typedef DenseMapInfo<const BasicBlock *> BBInfo;
H A DValueHandle.h17 #include "llvm/ADT/DenseMapInfo.h"
108 V != DenseMapInfo<Value *>::getEmptyKey() &&
109 V != DenseMapInfo<Value *>::getTombstoneKey();
198 friend struct DenseMapInfo<AssertingVH<ValueTy> >;
242 // Specialize DenseMapInfo to allow AssertingVH to participate in DenseMap.
244 struct DenseMapInfo<AssertingVH<T> > { struct in namespace:llvm
247 Res.setRawValPtr(DenseMapInfo<Value *>::getEmptyKey());
252 Res.setRawValPtr(DenseMapInfo<Value *>::getTombstoneKey());
256 return DenseMapInfo<Value *>::getHashValue(Val.getRawValPtr());
259 return DenseMapInfo<Valu
[all...]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
H A DEarlyCSE.cpp36 return DenseMapInfo<const void*>::getHashValue(V);
54 return Inst == DenseMapInfo<Instruction*>::getEmptyKey() ||
55 Inst == DenseMapInfo<Instruction*>::getTombstoneKey();
77 template<> struct DenseMapInfo<SimpleValue> { struct in namespace:llvm
79 return DenseMapInfo<Instruction*>::getEmptyKey();
82 return DenseMapInfo<Instruction*>::getTombstoneKey();
89 unsigned DenseMapInfo<SimpleValue>::getHashValue(SimpleValue Val) {
122 bool DenseMapInfo<SimpleValue>::isEqual(SimpleValue LHS, SimpleValue RHS) {
147 return Inst == DenseMapInfo<Instruction*>::getEmptyKey() ||
148 Inst == DenseMapInfo<Instructio
170 template<> struct DenseMapInfo<CallValue> { struct in namespace:llvm
[all...]
/external/llvm/lib/Target/X86/
H A DX86OptimizeLEAs.cpp99 /// Provide DenseMapInfo for MemOpKey.
101 template <> struct DenseMapInfo<MemOpKey> { struct in namespace:llvm
102 typedef DenseMapInfo<const MachineOperand *> PtrInfo;
/external/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp49 struct DenseMapInfo<DivOpInfo> { struct in namespace:llvm
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
H A DAliasAnalysis.h532 // Specialize DenseMapInfo for Location.
534 struct DenseMapInfo<AliasAnalysis::Location> { struct in namespace:llvm
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/clang/include/clang/Basic/
H A DSourceLocation.h28 template <typename T> struct DenseMapInfo;
398 /// Define DenseMapInfo so that FileID's can be used as keys in DenseMap and
401 struct DenseMapInfo<clang::FileID> { struct in namespace:clang::llvm

Completed in 620 milliseconds

123