Home
last modified time | relevance | path

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

123

/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.h486 struct DenseMapInfo<PointerUnion<T, U> > {
488 typedef DenseMapInfo<T> FirstInfo;
489 typedef DenseMapInfo<U> SecondInfo;
499 return DenseMapInfo<intptr_t>::getHashValue(key);
DPointerIntPair.h25 struct DenseMapInfo;
161 struct DenseMapInfo<PointerIntPair<PointerTy, IntBits, IntType> > {
DImmutableList.h205 template<typename T> struct DenseMapInfo;
206 template<typename T> struct DenseMapInfo<ImmutableList<T> > {
/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());
DASTTypeTraits.h95 struct DenseMapInfo { struct
420 struct DenseMapInfo<clang::ast_type_traits::ASTNodeKind>
421 : clang::ast_type_traits::ASTNodeKind::DenseMapInfo {};
DDeclarationName.h21 template <typename T> struct DenseMapInfo;
574 struct DenseMapInfo<clang::DeclarationName> {
584 return DenseMapInfo<void*>::getHashValue(Name.getAsOpaquePtr());
/external/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp60 return Inst == DenseMapInfo<Instruction *>::getEmptyKey() || in isSentinel()
61 Inst == DenseMapInfo<Instruction *>::getTombstoneKey(); in isSentinel()
78 template <> struct DenseMapInfo<SimpleValue> { struct
80 return DenseMapInfo<Instruction *>::getEmptyKey(); in getEmptyKey()
83 return DenseMapInfo<Instruction *>::getTombstoneKey(); in getTombstoneKey()
90 unsigned DenseMapInfo<SimpleValue>::getHashValue(SimpleValue Val) { in getHashValue()
146 bool DenseMapInfo<SimpleValue>::isEqual(SimpleValue LHS, SimpleValue RHS) { in isEqual()
207 return Inst == DenseMapInfo<Instruction *>::getEmptyKey() || in isSentinel()
208 Inst == DenseMapInfo<Instruction *>::getTombstoneKey(); in isSentinel()
225 template <> struct DenseMapInfo<CallValue> { struct
[all …]
/external/llvm/include/llvm/IR/
DValueHandle.h104 V != DenseMapInfo<Value *>::getEmptyKey() && in isValid()
105 V != DenseMapInfo<Value *>::getTombstoneKey(); in isValid()
190 friend struct DenseMapInfo<AssertingVH<ValueTy> >;
236 struct DenseMapInfo<AssertingVH<T> > {
239 Res.setRawValPtr(DenseMapInfo<Value *>::getEmptyKey());
244 Res.setRawValPtr(DenseMapInfo<Value *>::getTombstoneKey());
248 return DenseMapInfo<Value *>::getHashValue(Val.getRawValPtr());
251 return DenseMapInfo<Value *>::isEqual(LHS.getRawValPtr(),
DValueMap.h83 typedef DenseMap<ValueMapCVH, ValueT, DenseMapInfo<ValueMapCVH> > MapT;
220 friend struct DenseMapInfo<ValueMapCallbackVH>;
273 struct DenseMapInfo<ValueMapCallbackVH<KeyT, ValueT, Config> > {
277 return VH(DenseMapInfo<Value *>::getEmptyKey());
280 return VH(DenseMapInfo<Value *>::getTombstoneKey());
283 return DenseMapInfo<KeyT>::getHashValue(Val.Unwrap());
286 return DenseMapInfo<KeyT>::getHashValue(Val);
DAttributes.h35 template<typename T> struct DenseMapInfo;
228 template <typename Ty> friend struct DenseMapInfo;
401 template<> struct DenseMapInfo<AttributeSet> {
DMetadata.h561 struct DenseMapInfo<AAMDNodes> {
563 return AAMDNodes(DenseMapInfo<MDNode *>::getEmptyKey(), 0, 0);
566 return AAMDNodes(DenseMapInfo<MDNode *>::getTombstoneKey(), 0, 0);
569 return DenseMapInfo<MDNode *>::getHashValue(Val.TBAA) ^
570 DenseMapInfo<MDNode *>::getHashValue(Val.Scope) ^
571 DenseMapInfo<MDNode *>::getHashValue(Val.NoAlias);
/external/llvm/include/llvm/ProfileData/
DSampleProf.h79 template <> struct DenseMapInfo<sampleprof::LineLocation> {
80 typedef DenseMapInfo<int> OffsetInfo;
81 typedef DenseMapInfo<unsigned> DiscriminatorInfo;
91 return DenseMapInfo<std::pair<int, unsigned>>::getHashValue(
/external/llvm/include/llvm/Analysis/
DAliasSetTracker.h48 AAInfo(DenseMapInfo<AAMDNodes>::getEmptyKey()) {} in PointerRec()
63 if (AAInfo == DenseMapInfo<AAMDNodes>::getEmptyKey()) in updateSizeAndAAInfo()
68 AAInfo = DenseMapInfo<AAMDNodes>::getTombstoneKey(); in updateSizeAndAAInfo()
77 if (AAInfo == DenseMapInfo<AAMDNodes>::getEmptyKey() || in getAAInfo()
78 AAInfo == DenseMapInfo<AAMDNodes>::getTombstoneKey()) in getAAInfo()
293 struct ASTCallbackVHDenseMapInfo : public DenseMapInfo<Value *> {};
DAliasAnalysis.h602 struct DenseMapInfo<AliasAnalysis::Location> {
604 return AliasAnalysis::Location(DenseMapInfo<const Value *>::getEmptyKey(),
609 DenseMapInfo<const Value *>::getTombstoneKey(), 0);
612 return DenseMapInfo<const Value *>::getHashValue(Val.Ptr) ^
613 DenseMapInfo<uint64_t>::getHashValue(Val.Size) ^
614 DenseMapInfo<AAMDNodes>::getHashValue(Val.AATags);
DAssumptionCache.h148 typedef DenseMapInfo<Value *> DMI;
/external/clang/include/clang/Sema/
DScopeInfo.h234 class DenseMapInfo {
245 return llvm::DenseMapInfo<Pair>::getHashValue(Pair(Val.Base, in getHashValue()
285 WeakObjectProfileTy::DenseMapInfo>
/external/clang/include/clang/Basic/
DSourceLocation.h28 template <typename T> struct DenseMapInfo;
400 struct DenseMapInfo<clang::FileID> {
/external/llvm/lib/IR/
DLLVMContextImpl.h99 return DenseMapInfo<StructType*>::getEmptyKey(); in getEmptyKey()
102 return DenseMapInfo<StructType*>::getTombstoneKey(); in getTombstoneKey()
146 return DenseMapInfo<FunctionType*>::getEmptyKey(); in getEmptyKey()
149 return DenseMapInfo<FunctionType*>::getTombstoneKey(); in getTombstoneKey()
833 return DenseMapInfo<NodeTy *>::getEmptyKey();
836 return DenseMapInfo<NodeTy *>::getTombstoneKey();
/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;

123