Searched refs:DenseMapInfo (Results 1 - 25 of 43) sorted by relevance

12

/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/AST/
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 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 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"
195 template<> struct DenseMapInfo<clang::CharUnits> { struct in namespace:llvm
198 DenseMapInfo<clang::CharUnits::QuantityType>::getEmptyKey();
205 DenseMapInfo<clang::CharUnits::QuantityType>::getTombstoneKey();
212 return DenseMapInfo<clang::CharUnits::QuantityType>::getHashValue(Quantity);
H A DDeclarationName.h21 template <typename T> struct DenseMapInfo;
569 /// Define DenseMapInfo so that DeclarationNames can be used as keys
572 struct DenseMapInfo<clang::DeclarationName> { struct in namespace:llvm
582 return DenseMapInfo<void*>::getHashValue(Name.getAsOpaquePtr());
/freebsd-10.2-release/contrib/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 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> >
H A DValueMap.h78 typedef DenseMap<ValueMapCVH, ValueT, DenseMapInfo<ValueMapCVH> > MapT;
199 friend struct DenseMapInfo<ValueMapCallbackVH>;
251 struct DenseMapInfo<ValueMapCallbackVH<KeyT, ValueT, Config> > { struct in namespace:llvm
253 typedef DenseMapInfo<KeyT> PointerInfo;
H A DImmutableList.h205 template<typename T> struct DenseMapInfo;
206 template<typename T> struct DenseMapInfo<ImmutableList<T> > { struct in namespace:llvm
H A DPointerIntPair.h24 struct DenseMapInfo;
155 // Provide specialization of DenseMapInfo for PointerIntPair.
157 struct DenseMapInfo<PointerIntPair<PointerTy, IntBits, IntType> > {
H A DDenseSet.h25 template<typename ValueT, typename ValueInfoT = DenseMapInfo<ValueT> >
/freebsd-10.2-release/contrib/llvm/tools/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...]
/freebsd-10.2-release/contrib/llvm/include/llvm/Support/
H A DDebugLoc.h21 template <typename T> struct DenseMapInfo;
29 friend struct DenseMapInfo<DebugLoc>;
106 struct DenseMapInfo<DebugLoc> { struct in namespace:llvm
H A DValueHandle.h17 #include "llvm/ADT/DenseMapInfo.h"
110 V != DenseMapInfo<Value *>::getEmptyKey() &&
111 V != DenseMapInfo<Value *>::getTombstoneKey();
238 // Specialize DenseMapInfo to allow AssertingVH to participate in DenseMap.
240 struct DenseMapInfo<AssertingVH<T> > { struct in namespace:llvm
241 typedef DenseMapInfo<T*> PointerInfo;
/freebsd-10.2-release/contrib/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp39 return DenseMapInfo<const void*>::getHashValue(V);
57 return Inst == DenseMapInfo<Instruction*>::getEmptyKey() ||
58 Inst == DenseMapInfo<Instruction*>::getTombstoneKey();
75 template<> struct DenseMapInfo<SimpleValue> { struct in namespace:llvm
77 return DenseMapInfo<Instruction*>::getEmptyKey();
80 return DenseMapInfo<Instruction*>::getTombstoneKey();
87 unsigned DenseMapInfo<SimpleValue>::getHashValue(SimpleValue Val) {
141 bool DenseMapInfo<SimpleValue>::isEqual(SimpleValue LHS, SimpleValue RHS) {
200 return Inst == DenseMapInfo<Instruction*>::getEmptyKey() ||
201 Inst == DenseMapInfo<Instructio
218 template<> struct DenseMapInfo<CallValue> { struct in namespace:llvm
[all...]
/freebsd-10.2-release/contrib/llvm/include/llvm/Analysis/
H A DAliasSetTracker.h47 TBAAInfo(DenseMapInfo<const MDNode *>::getEmptyKey()) {}
62 if (TBAAInfo == DenseMapInfo<const MDNode *>::getEmptyKey())
67 TBAAInfo = DenseMapInfo<const MDNode *>::getTombstoneKey();
76 if (TBAAInfo == DenseMapInfo<const MDNode *>::getEmptyKey() ||
77 TBAAInfo == DenseMapInfo<const MDNode *>::getTombstoneKey())
293 struct ASTCallbackVHDenseMapInfo : public DenseMapInfo<Value *> {};
H A DAliasAnalysis.h557 // Specialize DenseMapInfo for Location.
559 struct DenseMapInfo<AliasAnalysis::Location> { struct in namespace:llvm
562 AliasAnalysis::Location(DenseMapInfo<const Value *>::getEmptyKey(),
567 AliasAnalysis::Location(DenseMapInfo<const Value *>::getTombstoneKey(),
571 return DenseMapInfo<const Value *>::getHashValue(Val.Ptr) ^
572 DenseMapInfo<uint64_t>::getHashValue(Val.Size) ^
573 DenseMapInfo<const MDNode *>::getHashValue(Val.TBAATag);
/freebsd-10.2-release/contrib/llvm/lib/IR/
H A DLLVMContextImpl.h118 return DenseMapInfo<StructType*>::getEmptyKey();
121 return DenseMapInfo<StructType*>::getTombstoneKey();
166 return DenseMapInfo<FunctionType*>::getEmptyKey();
169 return DenseMapInfo<FunctionType*>::getTombstoneKey();
/freebsd-10.2-release/contrib/llvm/include/llvm/IR/
H A DAttributes.h35 template<typename T> struct DenseMapInfo;
211 template <typename Ty> friend struct DenseMapInfo;
365 /// \brief Provide DenseMapInfo for AttributeSet.
366 template<> struct DenseMapInfo<AttributeSet> { struct in class:llvm::AttributeSet
H A DModule.h32 template<typename T> struct DenseMapInfo;
303 typedef DenseMap<StructType*, unsigned, DenseMapInfo<StructType*> >
/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DScopeInfo.h176 friend class DenseMapInfo;
209 // We can't specialize the usual llvm::DenseMapInfo at the end of the file
212 class DenseMapInfo { class in class:clang::sema::FunctionScopeInfo::WeakObjectProfileTy
223 return llvm::DenseMapInfo<Pair>::getHashValue(Pair(Val.Base,
263 WeakObjectProfileTy::DenseMapInfo>
/freebsd-10.2-release/contrib/llvm/tools/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
H A DIdentifierTable.h30 template <typename T> struct DenseMapInfo;
794 /// Define DenseMapInfo so that Selectors can be used as keys in DenseMap and
797 struct DenseMapInfo<clang::Selector> {
/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/Analysis/
H A DProgramPoint.h674 template <> struct DenseMapInfo<clang::ProgramPoint> { struct in namespace:llvm
678 reinterpret_cast<uintptr_t>(DenseMapInfo<void*>::getEmptyKey()) & ~0x7;
684 reinterpret_cast<uintptr_t>(DenseMapInfo<void*>::getTombstoneKey()) & ~0x7;
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Basic/
H A DIdentifierTable.cpp288 unsigned llvm::DenseMapInfo<clang::Selector>::getHashValue(clang::Selector S) {
289 return DenseMapInfo<void*>::getHashValue(S.getAsOpaquePtr());

Completed in 162 milliseconds

12