/external/clang/include/clang/AST/ |
H A D | TypeOrdering.h | 38 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 D | BaseSubobject.h | 55 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 D | GlobalDecl.h | 94 template<class> struct DenseMapInfo; 96 template<> struct DenseMapInfo<clang::GlobalDecl> { struct in namespace:llvm 107 return DenseMapInfo<void*>::getHashValue(GD.getAsOpaquePtr());
|
H A D | ASTTypeTraits.h | 26 #include "llvm/ADT/DenseMapInfo.h" 95 struct DenseMapInfo { struct in class:clang::ast_type_traits::ASTNodeKind 420 struct DenseMapInfo<clang::ast_type_traits::ASTNodeKind> struct in namespace:llvm 421 : clang::ast_type_traits::ASTNodeKind::DenseMapInfo {};
|
H A D | CharUnits.h | 17 #include "llvm/ADT/DenseMapInfo.h" 190 template<> struct DenseMapInfo<clang::CharUnits> { struct in namespace:llvm 193 DenseMapInfo<clang::CharUnits::QuantityType>::getEmptyKey(); 200 DenseMapInfo<clang::CharUnits::QuantityType>::getTombstoneKey(); 207 return DenseMapInfo<clang::CharUnits::QuantityType>::getHashValue(Quantity);
|
H A D | DeclarationName.h | 21 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 D | DenseMapInfo.h | 1 //===- 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 D | ImmutableList.h | 205 template<typename T> struct DenseMapInfo; 206 template<typename T> struct DenseMapInfo<ImmutableList<T> > { struct in namespace:llvm
|
H A D | PointerUnion.h | 18 #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/clang/lib/CodeGen/ |
H A D | CodeGenTBAA.h | 129 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 D | ValueHandle.h | 17 #include "llvm/ADT/DenseMapInfo.h" 104 V != DenseMapInfo<Value *>::getEmptyKey() && 105 V != DenseMapInfo<Value *>::getTombstoneKey(); 190 friend struct DenseMapInfo<AssertingVH<ValueTy> >; 234 // Specialize DenseMapInfo to allow AssertingVH to participate in DenseMap. 236 struct DenseMapInfo<AssertingVH<T> > { struct in namespace:llvm 239 Res.setRawValPtr(DenseMapInfo<Value *>::getEmptyKey()); 244 Res.setRawValPtr(DenseMapInfo<Value *>::getTombstoneKey()); 248 return DenseMapInfo<Value *>::getHashValue(Val.getRawValPtr()); 251 return DenseMapInfo<Valu [all...] |
H A D | Attributes.h | 35 template<typename T> struct DenseMapInfo; 228 template <typename Ty> friend struct DenseMapInfo; 400 /// \brief Provide DenseMapInfo for AttributeSet. 401 template<> struct DenseMapInfo<AttributeSet> { struct in class:llvm::AttributeSet
|
H A D | ValueMap.h | 83 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 D | Metadata.h | 559 // Specialize DenseMapInfo for AAMDNodes. 561 struct DenseMapInfo<AAMDNodes> { struct 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/ |
H A D | SampleProf.h | 79 template <> struct DenseMapInfo<sampleprof::LineLocation> { struct in namespace:llvm 80 typedef DenseMapInfo<int> OffsetInfo; 81 typedef DenseMapInfo<unsigned> DiscriminatorInfo; 91 return DenseMapInfo<std::pair<int, unsigned>>::getHashValue(
|
H A D | CoverageMapping.h | 459 /// \brief Provide DenseMapInfo for CounterExpression 460 template<> struct DenseMapInfo<coverage::CounterExpression> { struct in namespace:llvm
|
/external/llvm/lib/Transforms/Utils/ |
H A D | BypassSlowDivision.cpp | 49 struct DenseMapInfo<DivOpInfo> { struct in namespace:llvm
|
/external/clang/include/clang/Basic/ |
H A D | SourceLocation.h | 28 template <typename T> struct DenseMapInfo; 397 /// Define DenseMapInfo so that FileID's can be used as keys in DenseMap and 400 struct DenseMapInfo<clang::FileID> { struct in namespace:clang::llvm
|
/external/llvm/include/llvm/Analysis/ |
H A D | AliasAnalysis.h | 600 // Specialize DenseMapInfo for Location. 602 struct DenseMapInfo<AliasAnalysis::Location> { struct in namespace:llvm 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);
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombinePHI.cpp | 590 struct DenseMapInfo<LoweredPHIRecord> { struct in namespace:llvm 598 return DenseMapInfo<PHINode*>::getHashValue(Val.PN) ^ (Val.Shift>>3) ^
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | EarlyCSE.cpp | 60 return Inst == DenseMapInfo<Instruction *>::getEmptyKey() || 61 Inst == DenseMapInfo<Instruction *>::getTombstoneKey(); 78 template <> struct DenseMapInfo<SimpleValue> { struct in namespace:llvm 80 return DenseMapInfo<Instruction *>::getEmptyKey(); 83 return DenseMapInfo<Instruction *>::getTombstoneKey(); 90 unsigned DenseMapInfo<SimpleValue>::getHashValue(SimpleValue Val) { 146 bool DenseMapInfo<SimpleValue>::isEqual(SimpleValue LHS, SimpleValue RHS) { 207 return Inst == DenseMapInfo<Instruction *>::getEmptyKey() || 208 Inst == DenseMapInfo<Instruction *>::getTombstoneKey(); 225 template <> struct DenseMapInfo<CallValu struct in namespace:llvm [all...] |
/external/clang/include/clang/Analysis/ |
H A D | ProgramPoint.h | 675 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 D | CXCursor.cpp | 1228 template<> struct DenseMapInfo<CXCursor> { struct in namespace:llvm 1237 return llvm::DenseMapInfo<std::pair<const void *, const void *> >
|
/external/clang/include/clang/Sema/ |
H A D | ScopeInfo.h | 231 // We can't specialize the usual llvm::DenseMapInfo at the end of the file 234 class DenseMapInfo { class in class:clang::sema::FunctionScopeInfo::WeakObjectProfileTy 245 return llvm::DenseMapInfo<Pair>::getHashValue(Pair(Val.Base, 285 WeakObjectProfileTy::DenseMapInfo>
|
/external/clang/lib/Basic/ |
H A D | VirtualFileSystem.cpp | 332 struct DenseMapInfo<StringRef> { struct in namespace:llvm
|