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

12

/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.h55 template<> struct DenseMapInfo<clang::BaseSubobject> { struct in namespace:llvm
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(),
H A DGlobalDecl.h94 template<class> struct DenseMapInfo;
96 template<> struct DenseMapInfo<clang::GlobalDecl> { struct in namespace:llvm
107 return DenseMapInfo<void*>::getHashValue(GD.getAsOpaquePtr());
H A DCharUnits.h17 #include "llvm/ADT/DenseMapInfo.h"
208 template<> struct DenseMapInfo<clang::CharUnits> { struct in namespace:llvm
211 DenseMapInfo<clang::CharUnits::QuantityType>::getEmptyKey();
218 DenseMapInfo<clang::CharUnits::QuantityType>::getTombstoneKey();
225 return DenseMapInfo<clang::CharUnits::QuantityType>::getHashValue(Quantity);
H A DASTTypeTraits.h26 #include "llvm/ADT/DenseMapInfo.h"
95 struct DenseMapInfo { struct in class:clang::ast_type_traits::ASTNodeKind
326 struct DenseMapInfo { struct in class:clang::ast_type_traits::DynTypedNode
329 Node.NodeKind = ASTNodeKind::DenseMapInfo::getEmptyKey();
334 Node.NodeKind = ASTNodeKind::DenseMapInfo::getTombstoneKey();
356 auto Empty = ASTNodeKind::DenseMapInfo::getEmptyKey();
357 auto TombStone = ASTNodeKind::DenseMapInfo::getTombstoneKey();
358 return (ASTNodeKind::DenseMapInfo::isEqual(LHS.NodeKind, Empty) &&
359 ASTNodeKind::DenseMapInfo::isEqual(RHS.NodeKind, Empty)) ||
360 (ASTNodeKind::DenseMapInfo
500 struct DenseMapInfo<clang::ast_type_traits::ASTNodeKind> struct in namespace:llvm
504 struct DenseMapInfo<clang::ast_type_traits::DynTypedNode> struct in namespace:llvm
[all...]
H A DDeclarationName.h21 template <typename T> struct DenseMapInfo;
571 /// Define DenseMapInfo so that DeclarationNames can be used as keys
574 struct DenseMapInfo<clang::DeclarationName> { struct in namespace:llvm
584 return DenseMapInfo<void*>::getHashValue(Name.getAsOpaquePtr());
/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
33 // Provide DenseMapInfo for all pointers.
35 struct DenseMapInfo<T*> { struct in namespace:llvm
53 // Provide DenseMapInfo for chars.
54 template<> struct DenseMapInfo<char> { struct in namespace:llvm
63 // Provide DenseMapInfo for unsigned ints.
64 template<> struct DenseMapInfo<unsigned> { struct in namespace:llvm
73 // Provide DenseMapInfo fo
74 template<> struct DenseMapInfo<unsigned long> { struct in namespace:llvm
86 template<> struct DenseMapInfo<unsigned long long> { struct in namespace:llvm
99 template<> struct DenseMapInfo<int> { struct in namespace:llvm
109 template<> struct DenseMapInfo<long> { struct in namespace:llvm
123 template<> struct DenseMapInfo<long long> { struct in namespace:llvm
137 struct DenseMapInfo<std::pair<T, U> > { struct in namespace:llvm
170 template <> struct DenseMapInfo<StringRef> { struct in namespace:llvm
195 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"
486 struct DenseMapInfo<PointerUnion<T, U> > { struct in namespace:llvm
488 typedef DenseMapInfo<T> FirstInfo;
489 typedef DenseMapInfo<U> SecondInfo;
499 return DenseMapInfo<intptr_t>::getHashValue(key);
/external/llvm/include/llvm/Analysis/
H A DMemoryLocation.h123 // 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.h129 template<> struct DenseMapInfo<clang::CodeGen::TBAAPathTag> { struct in namespace:llvm
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_
[all...]
/external/llvm/include/llvm/IR/
H A DAttributes.h35 template<typename T> struct DenseMapInfo;
183 template <typename Ty> friend struct DenseMapInfo;
366 /// \brief Provide DenseMapInfo for AttributeSet.
367 template<> struct DenseMapInfo<AttributeSet> { struct in class:llvm::AttributeSet
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...]
H A DValueMap.h83 typedef DenseMap<ValueMapCVH, ValueT, DenseMapInfo<ValueMapCVH> > MapT;
220 friend struct DenseMapInfo<ValueMapCallbackVH>;
273 struct DenseMapInfo<ValueMapCallbackVH<KeyT, ValueT, Config> > { struct in namespace:llvm
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);
H A DMetadata.h571 // Specialize DenseMapInfo for AAMDNodes.
573 struct DenseMapInfo<AAMDNodes> { struct
575 return AAMDNodes(DenseMapInfo<MDNode *>::getEmptyKey(),
579 return AAMDNodes(DenseMapInfo<MDNode *>::getTombstoneKey(),
583 return DenseMapInfo<MDNode *>::getHashValue(Val.TBAA) ^
584 DenseMapInfo<MDNode *>::getHashValue(Val.Scope) ^
585 DenseMapInfo<MDNode *>::getHashValue(Val.NoAlias);
/external/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp49 struct DenseMapInfo<DivOpInfo> { struct in namespace:llvm
/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
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp680 struct DenseMapInfo<LoweredPHIRecord> { struct in namespace:llvm
688 return DenseMapInfo<PHINode*>::getHashValue(Val.PN) ^ (Val.Shift>>3) ^
/external/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp61 return Inst == DenseMapInfo<Instruction *>::getEmptyKey() ||
62 Inst == DenseMapInfo<Instruction *>::getTombstoneKey();
79 template <> struct DenseMapInfo<SimpleValue> { struct in namespace:llvm
81 return DenseMapInfo<Instruction *>::getEmptyKey();
84 return DenseMapInfo<Instruction *>::getTombstoneKey();
91 unsigned DenseMapInfo<SimpleValue>::getHashValue(SimpleValue Val) {
147 bool DenseMapInfo<SimpleValue>::isEqual(SimpleValue LHS, SimpleValue RHS) {
208 return Inst == DenseMapInfo<Instruction *>::getEmptyKey() ||
209 Inst == DenseMapInfo<Instruction *>::getTombstoneKey();
226 template <> struct DenseMapInfo<CallValu struct in namespace:llvm
[all...]
/external/clang/include/clang/Analysis/
H A DProgramPoint.h675 template <> struct DenseMapInfo<clang::ProgramPoint> { struct in namespace:llvm
679 reinterpret_cast<uintptr_t>(DenseMapInfo<void*>::getEmptyKey()) & ~0x7;
685 reinterpret_cast<uintptr_t>(DenseMapInfo<void*>::getTombstoneKey()) & ~0x7;
/external/clang/tools/libclang/
H A DCXCursor.cpp1264 template<> struct DenseMapInfo<CXCursor> { struct in namespace:llvm
1273 return llvm::DenseMapInfo<std::pair<const void *, const void *> >
/external/llvm/include/llvm/ProfileData/
H A DCoverageMapping.h459 /// \brief Provide DenseMapInfo for CounterExpression
460 template<> struct DenseMapInfo<coverage::CounterExpression> { struct in namespace:llvm
/external/clang/include/clang/Sema/
H A DScopeInfo.h242 // We can't specialize the usual llvm::DenseMapInfo at the end of the file
245 class DenseMapInfo { class in class:clang::sema::FunctionScopeInfo::WeakObjectProfileTy
256 return llvm::DenseMapInfo<Pair>::getHashValue(Pair(Val.Base,
296 WeakObjectProfileTy::DenseMapInfo>
/external/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h50 template <typename T> struct DenseMapInfo;
102 friend struct DenseMapInfo<SDValue>;
188 template<> struct DenseMapInfo<SDValue> { struct in namespace:llvm
/external/llvm/include/llvm/Target/
H A DTargetInstrInfo.h1411 /// \brief Provide DenseMapInfo for TargetInstrInfo::RegSubRegPair.
1413 struct DenseMapInfo<TargetInstrInfo::RegSubRegPair> { struct in namespace:llvm
1414 typedef DenseMapInfo<unsigned> RegInfo;
1429 return DenseMapInfo<std::pair<unsigned, unsigned>>::getHashValue(PairVal);

Completed in 939 milliseconds

12