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

12

/external/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.h36 template<class> struct DenseMapInfo;
38 template<> struct DenseMapInfo<clang::QualType> { struct in namespace:llvm
56 template<> struct DenseMapInfo<clang::CanQualType> { struct in namespace:llvm
H A DGlobalDecl.h93 template<class> struct DenseMapInfo;
95 template<> struct DenseMapInfo<clang::GlobalDecl> { struct in namespace:llvm
106 return DenseMapInfo<void*>::getHashValue(GD.getAsOpaquePtr());
H A DCharUnits.h17 #include "llvm/ADT/DenseMapInfo.h"
185 template<> struct DenseMapInfo<clang::CharUnits> { struct in namespace:llvm
188 DenseMapInfo<clang::CharUnits::QuantityType>::getEmptyKey();
195 DenseMapInfo<clang::CharUnits::QuantityType>::getTombstoneKey();
202 return DenseMapInfo<clang::CharUnits::QuantityType>::getHashValue(Quantity);
H A DDeclarationName.h23 template <typename T> struct DenseMapInfo;
568 /// Define DenseMapInfo so that DeclarationNames can be used as keys
571 struct DenseMapInfo<clang::DeclarationName> { struct in namespace:llvm
581 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.
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 DPointerIntPair.h23 struct DenseMapInfo;
133 // Provide specialization of DenseMapInfo for PointerIntPair.
135 struct DenseMapInfo<PointerIntPair<PointerTy, IntBits, IntType> > {
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.h79 typedef DenseMap<ValueMapCVH, ValueT, DenseMapInfo<ValueMapCVH> > MapT;
200 friend struct DenseMapInfo<ValueMapCallbackVH>;
252 struct DenseMapInfo<ValueMapCallbackVH<KeyT, ValueT, Config> > { struct in namespace:llvm
254 typedef DenseMapInfo<KeyT> PointerInfo;
H A DImmutableList.h206 template<typename T> struct DenseMapInfo;
207 template<typename T> struct DenseMapInfo<ImmutableList<T> > { struct in namespace:llvm
H A DDenseSet.h25 template<typename ValueT, typename ValueInfoT = DenseMapInfo<ValueT> >
/external/llvm/include/llvm/Support/
H A DDebugLoc.h19 template <typename T> struct DenseMapInfo;
27 friend struct DenseMapInfo<DebugLoc>;
104 struct DenseMapInfo<DebugLoc> { struct in namespace:llvm
H A DValueHandle.h17 #include "llvm/ADT/DenseMapInfo.h"
109 V != DenseMapInfo<Value *>::getEmptyKey() &&
110 V != DenseMapInfo<Value *>::getTombstoneKey();
251 // Specialize DenseMapInfo to allow AssertingVH to participate in DenseMap.
253 struct DenseMapInfo<AssertingVH<T> > { struct in namespace:llvm
254 typedef DenseMapInfo<T*> PointerInfo;
/external/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp38 return DenseMapInfo<const void*>::getHashValue(V);
56 return Inst == DenseMapInfo<Instruction*>::getEmptyKey() ||
57 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) {
124 bool DenseMapInfo<SimpleValue>::isEqual(SimpleValue LHS, SimpleValue RHS) {
149 return Inst == DenseMapInfo<Instruction*>::getEmptyKey() ||
150 Inst == DenseMapInfo<Instructio
172 template<> struct DenseMapInfo<CallValue> { struct in namespace:llvm
[all...]
/external/llvm/include/llvm/Analysis/
H A DAliasSetTracker.h48 TBAAInfo(DenseMapInfo<const MDNode *>::getEmptyKey()) {}
63 if (TBAAInfo == DenseMapInfo<const MDNode *>::getEmptyKey())
68 TBAAInfo = DenseMapInfo<const MDNode *>::getTombstoneKey();
77 if (TBAAInfo == DenseMapInfo<const MDNode *>::getEmptyKey() ||
78 TBAAInfo == DenseMapInfo<const MDNode *>::getTombstoneKey())
295 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);
/external/llvm/lib/VMCore/
H A DLLVMContextImpl.h121 return DenseMapInfo<StructType*>::getEmptyKey();
124 return DenseMapInfo<StructType*>::getTombstoneKey();
173 return DenseMapInfo<FunctionType*>::getEmptyKey();
176 return DenseMapInfo<FunctionType*>::getTombstoneKey();
H A DDebugLoc.cpp12 #include "llvm/ADT/DenseMapInfo.h"
153 unsigned DenseMapInfo<DebugLoc>::getHashValue(const DebugLoc &Key) {
/external/clang/include/clang/Basic/
H A DSourceLocation.h27 template <typename T> struct DenseMapInfo;
402 /// Define DenseMapInfo so that FileID's can be used as keys in DenseMap and
405 struct DenseMapInfo<clang::FileID> { struct in namespace:llvm
H A DIdentifierTable.h30 template <typename T> struct DenseMapInfo;
764 /// Define DenseMapInfo so that Selectors can be used as keys in DenseMap and
767 struct DenseMapInfo<clang::Selector> {
/external/llvm/include/llvm/
H A DModule.h32 template<typename T> struct DenseMapInfo;
301 typedef DenseMap<StructType*, unsigned, DenseMapInfo<StructType*> >
/external/clang/include/clang/Analysis/
H A DProgramPoint.h568 template <> struct DenseMapInfo<clang::ProgramPoint> { struct in namespace:llvm
572 reinterpret_cast<uintptr_t>(DenseMapInfo<void*>::getEmptyKey()) & ~0x7;
578 reinterpret_cast<uintptr_t>(DenseMapInfo<void*>::getTombstoneKey()) & ~0x7;
/external/clang/lib/Basic/
H A DIdentifierTable.cpp289 unsigned llvm::DenseMapInfo<clang::Selector>::getHashValue(clang::Selector S) {
290 return DenseMapInfo<void*>::getHashValue(S.getAsOpaquePtr());
/external/llvm/lib/Support/
H A DSmallPtrSet.cpp16 #include "llvm/ADT/DenseMapInfo.h"
106 unsigned Bucket = DenseMapInfo<void *>::getHashValue(Ptr) & (CurArraySize-1);
/external/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp48 struct DenseMapInfo<DivOpInfo> { struct in namespace:llvm

Completed in 630 milliseconds

12