Home
last modified time | relevance | path

Searched refs:DenseMapInfo (Results 1 – 25 of 50) sorted by relevance

12

/external/llvm/include/llvm/ADT/
DDenseMapInfo.h23 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 …]
DScopedHashTable.h39 template <typename K, typename V, typename KInfo = DenseMapInfo<K>,
81 template <typename K, typename V, typename KInfo = DenseMapInfo<K>,
113 template <typename K, typename V, typename KInfo = DenseMapInfo<K> >
DPointerUnion.h480 struct DenseMapInfo<PointerUnion<T, U> > {
482 typedef DenseMapInfo<T> FirstInfo;
483 typedef DenseMapInfo<U> SecondInfo;
493 return DenseMapInfo<intptr_t>::getHashValue(key);
DImmutableList.h205 template<typename T> struct DenseMapInfo;
206 template<typename T> struct DenseMapInfo<ImmutableList<T> > {
DPointerIntPair.h25 struct DenseMapInfo;
161 struct DenseMapInfo<PointerIntPair<PointerTy, IntBits, IntType> > {
DDenseSet.h25 template<typename ValueT, typename ValueInfoT = DenseMapInfo<ValueT> >
/external/clang/lib/CodeGen/
DCodeGenTBAA.h129 template<> struct DenseMapInfo<clang::CodeGen::TBAAPathTag> {
132 DenseMapInfo<const clang::Type *>::getEmptyKey(),
133 DenseMapInfo<const MDNode *>::getEmptyKey(),
134 DenseMapInfo<uint64_t>::getEmptyKey());
139 DenseMapInfo<const clang::Type *>::getTombstoneKey(),
140 DenseMapInfo<const MDNode *>::getTombstoneKey(),
141 DenseMapInfo<uint64_t>::getTombstoneKey());
145 return DenseMapInfo<const clang::Type *>::getHashValue(Val.BaseT) ^
146 DenseMapInfo<const MDNode *>::getHashValue(Val.AccessN) ^
147 DenseMapInfo<uint64_t>::getHashValue(Val.Offset);
/external/clang/include/clang/AST/
DBaseSubobject.h55 template<> struct DenseMapInfo<clang::BaseSubobject> {
58 DenseMapInfo<const clang::CXXRecordDecl *>::getEmptyKey(),
59 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getEmptyKey()));
64 DenseMapInfo<const clang::CXXRecordDecl *>::getTombstoneKey(),
65 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getTombstoneKey()));
70 return DenseMapInfo<PairTy>::getHashValue(PairTy(Base.getBase(),
DTypeOrdering.h38 template<class> struct DenseMapInfo;
40 template<> struct DenseMapInfo<clang::QualType> {
58 template<> struct DenseMapInfo<clang::CanQualType> {
DCharUnits.h190 template<> struct DenseMapInfo<clang::CharUnits> {
193 DenseMapInfo<clang::CharUnits::QuantityType>::getEmptyKey();
200 DenseMapInfo<clang::CharUnits::QuantityType>::getTombstoneKey();
207 return DenseMapInfo<clang::CharUnits::QuantityType>::getHashValue(Quantity);
DGlobalDecl.h94 template<class> struct DenseMapInfo;
96 template<> struct DenseMapInfo<clang::GlobalDecl> {
107 return DenseMapInfo<void*>::getHashValue(GD.getAsOpaquePtr());
DDeclarationName.h21 template <typename T> struct DenseMapInfo;
573 struct DenseMapInfo<clang::DeclarationName> {
583 return DenseMapInfo<void*>::getHashValue(Name.getAsOpaquePtr());
/external/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp40 return DenseMapInfo<const void*>::getHashValue(V); in getHash()
58 return Inst == DenseMapInfo<Instruction*>::getEmptyKey() || in isSentinel()
59 Inst == DenseMapInfo<Instruction*>::getTombstoneKey(); in isSentinel()
76 template<> struct DenseMapInfo<SimpleValue> { struct
78 return DenseMapInfo<Instruction*>::getEmptyKey(); in getEmptyKey()
81 return DenseMapInfo<Instruction*>::getTombstoneKey(); in getTombstoneKey()
88 unsigned DenseMapInfo<SimpleValue>::getHashValue(SimpleValue Val) { in getHashValue()
142 bool DenseMapInfo<SimpleValue>::isEqual(SimpleValue LHS, SimpleValue RHS) { in isEqual()
201 return Inst == DenseMapInfo<Instruction*>::getEmptyKey() || in isSentinel()
202 Inst == DenseMapInfo<Instruction*>::getTombstoneKey(); in isSentinel()
[all …]
DSampleProfile.cpp85 template <> struct DenseMapInfo<InstructionLocation> { struct
86 typedef DenseMapInfo<int> OffsetInfo; argument
87 typedef DenseMapInfo<unsigned> DiscriminatorInfo; argument
97 return DenseMapInfo<std::pair<int, unsigned>>::getHashValue( in getHashValue()
/external/llvm/include/llvm/IR/
DDebugLoc.h21 template <typename T> struct DenseMapInfo;
30 friend struct DenseMapInfo<DebugLoc>;
115 struct DenseMapInfo<DebugLoc> {
DValueHandle.h110 V != DenseMapInfo<Value *>::getEmptyKey() && in isValid()
111 V != DenseMapInfo<Value *>::getTombstoneKey(); in isValid()
240 struct DenseMapInfo<AssertingVH<T> > {
241 typedef DenseMapInfo<T*> PointerInfo;
DValueMap.h80 typedef DenseMap<ValueMapCVH, ValueT, DenseMapInfo<ValueMapCVH> > MapT;
202 friend struct DenseMapInfo<ValueMapCallbackVH>;
254 struct DenseMapInfo<ValueMapCallbackVH<KeyT, ValueT, Config> > {
256 typedef DenseMapInfo<KeyT> PointerInfo;
DAttributes.h35 template<typename T> struct DenseMapInfo;
214 template <typename Ty> friend struct DenseMapInfo;
369 template<> struct DenseMapInfo<AttributeSet> {
/external/llvm/include/llvm/Analysis/
DAliasSetTracker.h47 TBAAInfo(DenseMapInfo<const MDNode *>::getEmptyKey()) {} in PointerRec()
62 if (TBAAInfo == DenseMapInfo<const MDNode *>::getEmptyKey()) in updateSizeAndTBAAInfo()
67 TBAAInfo = DenseMapInfo<const MDNode *>::getTombstoneKey(); in updateSizeAndTBAAInfo()
76 if (TBAAInfo == DenseMapInfo<const MDNode *>::getEmptyKey() || in getTBAAInfo()
77 TBAAInfo == DenseMapInfo<const MDNode *>::getTombstoneKey()) in getTBAAInfo()
294 struct ASTCallbackVHDenseMapInfo : public DenseMapInfo<Value *> {};
DAliasAnalysis.h567 struct DenseMapInfo<AliasAnalysis::Location> {
570 AliasAnalysis::Location(DenseMapInfo<const Value *>::getEmptyKey(),
575 AliasAnalysis::Location(DenseMapInfo<const Value *>::getTombstoneKey(),
579 return DenseMapInfo<const Value *>::getHashValue(Val.Ptr) ^
580 DenseMapInfo<uint64_t>::getHashValue(Val.Size) ^
581 DenseMapInfo<const MDNode *>::getHashValue(Val.TBAATag);
/external/llvm/lib/IR/
DLLVMContextImpl.h121 return DenseMapInfo<StructType*>::getEmptyKey(); in getEmptyKey()
124 return DenseMapInfo<StructType*>::getTombstoneKey(); in getTombstoneKey()
169 return DenseMapInfo<FunctionType*>::getEmptyKey(); in getEmptyKey()
172 return DenseMapInfo<FunctionType*>::getTombstoneKey(); in getTombstoneKey()
/external/clang/include/clang/Sema/
DScopeInfo.h191 friend class DenseMapInfo; variable
227 class DenseMapInfo {
238 return llvm::DenseMapInfo<Pair>::getHashValue(Pair(Val.Base, in getHashValue()
278 WeakObjectProfileTy::DenseMapInfo>
/external/clang/include/clang/Basic/
DSourceLocation.h28 template <typename T> struct DenseMapInfo;
401 struct DenseMapInfo<clang::FileID> {
DIdentifierTable.h27 template <typename T> struct DenseMapInfo;
796 struct DenseMapInfo<clang::Selector> {
/external/clang/include/clang/Analysis/
DProgramPoint.h675 template <> struct DenseMapInfo<clang::ProgramPoint> {
679 reinterpret_cast<uintptr_t>(DenseMapInfo<void*>::getEmptyKey()) & ~0x7;
685 reinterpret_cast<uintptr_t>(DenseMapInfo<void*>::getTombstoneKey()) & ~0x7;

12