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

12

/external/clang/include/clang/AST/
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 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 DenseMapInfo<const clang::CXXRecordDecl *>::getHashValue(Base.getBase()) ^
71 DenseMapInfo<int64_t>::getHashValue(Base.getBaseOffset().getQuantity());
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.h22 template <typename T> struct DenseMapInfo;
545 /// Define DenseMapInfo so that DeclarationNames can be used as keys
548 struct DenseMapInfo<clang::DeclarationName> { struct in namespace:llvm
/external/llvm/include/llvm/Support/
H A DDebugLoc.h18 #include "llvm/ADT/DenseMapInfo.h"
28 friend struct DenseMapInfo<DebugLoc>;
105 struct DenseMapInfo<DebugLoc> { struct in namespace:llvm
H A DValueHandle.h17 #include "llvm/ADT/DenseMapInfo.h"
100 V != DenseMapInfo<Value *>::getEmptyKey() &&
101 V != DenseMapInfo<Value *>::getTombstoneKey();
241 // Specialize DenseMapInfo to allow AssertingVH to participate in DenseMap.
243 struct DenseMapInfo<AssertingVH<T> > { struct in namespace:llvm
244 typedef DenseMapInfo<T*> PointerInfo;
/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 DImmutableList.h206 template<typename T> struct DenseMapInfo;
207 template<typename T> struct DenseMapInfo<ImmutableList<T> > { struct in namespace:llvm
H A DValueMap.h76 typename ValueInfoT = DenseMapInfo<ValueT> >
80 typedef DenseMap<ValueMapCVH, ValueT, DenseMapInfo<ValueMapCVH>,
196 friend struct DenseMapInfo<ValueMapCallbackVH>;
248 struct DenseMapInfo<ValueMapCallbackVH<KeyT, ValueT, Config, ValueInfoT> > { struct in namespace:llvm
250 typedef DenseMapInfo<KeyT> PointerInfo;
/external/clang/include/clang/Index/
H A DEntity.h124 /// Define DenseMapInfo so that Entities can be used as keys in DenseMap and
127 struct DenseMapInfo<clang::idx::Entity> { struct in namespace:llvm
H A DGlobalSelector.h75 /// Define DenseMapInfo so that GlobalSelectors can be used as keys in DenseMap
78 struct DenseMapInfo<clang::idx::GlobalSelector> { struct in namespace:llvm
/external/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp36 return DenseMapInfo<const void*>::getHashValue(V);
54 return Inst == DenseMapInfo<Instruction*>::getEmptyKey() ||
55 Inst == DenseMapInfo<Instruction*>::getTombstoneKey();
77 template<> struct DenseMapInfo<SimpleValue> { struct in namespace:llvm
79 return DenseMapInfo<Instruction*>::getEmptyKey();
82 return DenseMapInfo<Instruction*>::getTombstoneKey();
89 unsigned DenseMapInfo<SimpleValue>::getHashValue(SimpleValue Val) {
122 bool DenseMapInfo<SimpleValue>::isEqual(SimpleValue LHS, SimpleValue RHS) {
147 return Inst == DenseMapInfo<Instruction*>::getEmptyKey() ||
148 Inst == DenseMapInfo<Instructio
170 template<> struct DenseMapInfo<CallValue> { struct in namespace:llvm
[all...]
/external/llvm/include/llvm/Analysis/
H A DAliasAnalysis.h532 // Specialize DenseMapInfo for Location.
534 struct DenseMapInfo<AliasAnalysis::Location> { struct in namespace:llvm
537 AliasAnalysis::Location(DenseMapInfo<const Value *>::getEmptyKey(),
542 AliasAnalysis::Location(DenseMapInfo<const Value *>::getTombstoneKey(),
546 return DenseMapInfo<const Value *>::getHashValue(Val.Ptr) ^
547 DenseMapInfo<uint64_t>::getHashValue(Val.Size) ^
548 DenseMapInfo<const MDNode *>::getHashValue(Val.TBAATag);
/external/clang/include/clang/Analysis/
H A DProgramPoint.h397 template <> struct DenseMapInfo<clang::ProgramPoint> { struct in namespace:llvm
401 reinterpret_cast<uintptr_t>(DenseMapInfo<void*>::getEmptyKey()) & ~0x7;
407 reinterpret_cast<uintptr_t>(DenseMapInfo<void*>::getTombstoneKey()) & ~0x7;
/external/clang/include/clang/Basic/
H A DSourceLocation.h25 template <typename T> struct DenseMapInfo;
384 /// Define DenseMapInfo so that FileID's can be used as keys in DenseMap and
387 struct DenseMapInfo<clang::FileID> { struct in namespace:llvm
H A DIdentifierTable.h31 template <typename T> struct DenseMapInfo;
710 /// Define DenseMapInfo so that Selectors can be used as keys in DenseMap and
713 struct DenseMapInfo<clang::Selector> { struct in namespace:llvm
/external/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp135 struct DenseMapInfo<ComparableFunction> { struct in namespace:llvm
662 bool DenseMapInfo<ComparableFunction>::isEqual(const ComparableFunction &LHS,
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp590 struct DenseMapInfo<LoweredPHIRecord> { struct in namespace:llvm
598 return DenseMapInfo<PHINode*>::getHashValue(Val.PN) ^ (Val.Shift>>3) ^
/external/clang/include/clang/StaticAnalyzer/Core/
H A DCheckerManager.h489 friend struct llvm::DenseMapInfo<CachedStmtCheckersKey>;
544 /// Define DenseMapInfo so that CachedStmtCheckersKey can be used as key
547 struct DenseMapInfo<clang::ento::CheckerManager::CachedStmtCheckersKey> { struct in namespace:llvm
/external/clang/tools/libclang/
H A DCXCursor.cpp949 template<> struct DenseMapInfo<CXCursor> { struct in namespace:llvm
958 return llvm::DenseMapInfo<std::pair<void*,void*> >
/external/llvm/include/llvm/CodeGen/
H A DSlotIndexes.h84 friend struct DenseMapInfo<SlotIndex>;
294 /// DenseMapInfo specialization for SlotIndex.
296 struct DenseMapInfo<SlotIndex> { struct in namespace:llvm
/external/llvm/lib/Analysis/
H A DLazyValueInfo.cpp310 struct DenseMapInfo<LVIValueHandle> { struct in namespace:llvm
311 typedef DenseMapInfo<Value*> PointerInfo;
329 struct DenseMapInfo<std::pair<AssertingVH<BasicBlock>, Value*> > { struct in namespace:llvm
331 typedef DenseMapInfo<AssertingVH<BasicBlock> > APointerInfo;
332 typedef DenseMapInfo<Value*> BPointerInfo;
/external/llvm/lib/MC/
H A DMCDwarf.cpp986 struct DenseMapInfo<CIEKey> { struct in namespace:llvm
/external/llvm/lib/Transforms/Utils/
H A DPromoteMemoryToRegister.cpp60 struct DenseMapInfo<std::pair<BasicBlock*, unsigned> > { struct in namespace:llvm
69 return DenseMapInfo<void*>::getHashValue(Val.first) + Val.second*2;

Completed in 1450 milliseconds

12