HomeSort by relevance Sort by last modified time
    Searched defs:DenseMapInfo (Results 1 - 25 of 91) sorted by null

1 2 3 4

  /external/clang/include/clang/AST/
TypeOrdering.h 38 template<class> struct DenseMapInfo;
40 template<> struct DenseMapInfo<clang::QualType> {
58 template<> struct DenseMapInfo<clang::CanQualType> {
BaseSubobject.h 54 template<> struct DenseMapInfo<clang::BaseSubobject> {
57 DenseMapInfo<const clang::CXXRecordDecl *>::getEmptyKey(),
58 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getEmptyKey()));
63 DenseMapInfo<const clang::CXXRecordDecl *>::getTombstoneKey(),
64 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getTombstoneKey()));
69 return DenseMapInfo<PairTy>::getHashValue(PairTy(Base.getBase(),
GlobalDecl.h 96 template<class> struct DenseMapInfo;
98 template<> struct DenseMapInfo<clang::GlobalDecl> {
109 return DenseMapInfo<void*>::getHashValue(GD.getAsOpaquePtr());
ASTTypeTraits.h 26 #include "llvm/ADT/DenseMapInfo.h"
97 struct DenseMapInfo {
328 struct DenseMapInfo {
331 Node.NodeKind = ASTNodeKind::DenseMapInfo::getEmptyKey();
336 Node.NodeKind = ASTNodeKind::DenseMapInfo::getTombstoneKey();
358 auto Empty = ASTNodeKind::DenseMapInfo::getEmptyKey();
359 auto TombStone = ASTNodeKind::DenseMapInfo::getTombstoneKey();
360 return (ASTNodeKind::DenseMapInfo::isEqual(LHS.NodeKind, Empty) &&
361 ASTNodeKind::DenseMapInfo::isEqual(RHS.NodeKind, Empty)) ||
362 (ASTNodeKind::DenseMapInfo::isEqual(LHS.NodeKind, TombStone) &
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DenseMapInfo.h 1 //===- llvm/ADT/DenseMapInfo.h - Type traits for DenseMap -------*- C++ -*-===//
10 // This file defines DenseMapInfo traits for DenseMap.
29 struct DenseMapInfo {
36 // Provide DenseMapInfo for all pointers.
38 struct DenseMapInfo<T*> {
59 // Provide DenseMapInfo for chars.
60 template<> struct DenseMapInfo<char> {
70 // Provide DenseMapInfo for unsigned shorts.
71 template <> struct DenseMapInfo<unsigned short> {
81 // Provide DenseMapInfo for unsigned ints
    [all...]
CachedHashString.h 38 : CachedHashStringRef(S, DenseMapInfo<StringRef>::getHashValue(S)) {}
51 template <> struct DenseMapInfo<CachedHashStringRef> {
53 return CachedHashStringRef(DenseMapInfo<StringRef>::getEmptyKey(), 0);
56 return CachedHashStringRef(DenseMapInfo<StringRef>::getTombstoneKey(), 1);
66 DenseMapInfo<StringRef>::isEqual(LHS.val(), RHS.val());
74 friend struct DenseMapInfo<CachedHashString>;
80 static char *getEmptyKeyPtr() { return DenseMapInfo<char *>::getEmptyKey(); }
82 return DenseMapInfo<char *>::getTombstoneKey();
103 : CachedHashString(S, DenseMapInfo<StringRef>::getHashValue(S)) {}
154 template <> struct DenseMapInfo<CachedHashString>
    [all...]
PointerUnion.h 18 #include "llvm/ADT/DenseMapInfo.h"
464 template <typename T, typename U> struct DenseMapInfo<PointerUnion<T, U>> {
466 using FirstInfo = DenseMapInfo<T>;
467 using SecondInfo = DenseMapInfo<U>;
477 return DenseMapInfo<intptr_t>::getHashValue(key);
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
WasmTraits.h 10 // This file provides llvm::DenseMapInfo traits for the Wasm structures.
22 template <typename T> struct DenseMapInfo;
25 template <> struct DenseMapInfo<wasm::WasmSignature> {
45 template <> struct DenseMapInfo<wasm::WasmGlobalType> {
  /external/llvm/include/llvm/ADT/
DenseMapInfo.h 1 //===- llvm/ADT/DenseMapInfo.h - Type traits for DenseMap -------*- C++ -*-===//
10 // This file defines DenseMapInfo traits for DenseMap.
26 struct DenseMapInfo {
35 Hash = DenseMapInfo<T>::getHashValue(Val);
42 // Provide DenseMapInfo for all CachedHash<T>.
43 template <typename T> struct DenseMapInfo<CachedHash<T>> {
45 T N = DenseMapInfo<T>::getEmptyKey();
49 T N = DenseMapInfo<T>::getTombstoneKey();
59 return DenseMapInfo<T>::isEqual(A.Val, B.Val);
63 // Provide DenseMapInfo for all pointers
    [all...]
  /external/llvm/include/llvm/Analysis/
MemoryLocation.h 19 #include "llvm/ADT/DenseMapInfo.h"
123 // Specialize DenseMapInfo for MemoryLocation.
124 template <> struct DenseMapInfo<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/swiftshader/third_party/LLVM/include/llvm/ADT/
DenseMapInfo.h 1 //===- llvm/ADT/DenseMapInfo.h - Type traits for DenseMap -------*- C++ -*-===//
10 // This file defines DenseMapInfo traits for DenseMap.
23 struct DenseMapInfo {
30 // Provide DenseMapInfo for all pointers.
32 struct DenseMapInfo<T*> {
50 // Provide DenseMapInfo for chars.
51 template<> struct DenseMapInfo<char> {
60 // Provide DenseMapInfo for unsigned ints.
61 template<> struct DenseMapInfo<unsigned> {
70 // Provide DenseMapInfo for unsigned longs
    [all...]
  /external/swiftshader/third_party/LLVM/include/llvm/Support/
DebugLoc.h 18 #include "llvm/ADT/DenseMapInfo.h"
28 friend struct DenseMapInfo<DebugLoc>;
105 struct DenseMapInfo<DebugLoc> {
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
BypassSlowDivision.h 22 #include "llvm/ADT/DenseMapInfo.h"
39 template <> struct DenseMapInfo<DivRemMapKey> {
  /external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DenseMapInfo.h 1 //===- llvm/ADT/DenseMapInfo.h - Type traits for DenseMap -------*- C++ -*-===//
10 // This file defines DenseMapInfo traits for DenseMap.
26 struct DenseMapInfo {
33 // Provide DenseMapInfo for all pointers.
35 struct DenseMapInfo<T*> {
53 // Provide DenseMapInfo for chars.
54 template<> struct DenseMapInfo<char> {
63 // Provide DenseMapInfo for unsigned ints.
64 template<> struct DenseMapInfo<unsigned> {
73 // Provide DenseMapInfo for unsigned longs
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
MemoryLocation.h 20 #include "llvm/ADT/DenseMapInfo.h"
142 // Specialize DenseMapInfo for MemoryLocation.
143 template <> struct DenseMapInfo<MemoryLocation> {
145 return MemoryLocation(DenseMapInfo<const Value *>::getEmptyKey(), 0);
148 return MemoryLocation(DenseMapInfo<const Value *>::getTombstoneKey(), 0);
151 return DenseMapInfo<const Value *>::getHashValue(Val.Ptr) ^
152 DenseMapInfo<LocationSize>::getHashValue(Val.Size) ^
153 DenseMapInfo<AAMDNodes>::getHashValue(Val.AATags);
  /external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
ReverseIterationTest.cpp 16 #include "llvm/ADT/DenseMapInfo.h"
63 template<> struct DenseMapInfo<PtrLikeInt *> {
  /external/clang/lib/CodeGen/
CodeGenTBAA.h 126 template<> struct DenseMapInfo<clang::CodeGen::TBAAPathTag> {
129 DenseMapInfo<const clang::Type *>::getEmptyKey(),
130 DenseMapInfo<const MDNode *>::getEmptyKey(),
131 DenseMapInfo<uint64_t>::getEmptyKey());
136 DenseMapInfo<const clang::Type *>::getTombstoneKey(),
137 DenseMapInfo<const MDNode *>::getTombstoneKey(),
138 DenseMapInfo<uint64_t>::getTombstoneKey());
142 return DenseMapInfo<const clang::Type *>::getHashValue(Val.BaseT) ^
143 DenseMapInfo<const MDNode *>::getHashValue(Val.AccessN) ^
144 DenseMapInfo<uint64_t>::getHashValue(Val.Offset)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/
TypeHashing.h 13 #include "llvm/ADT/DenseMapInfo.h"
149 template <> struct DenseMapInfo<codeview::LocallyHashedType> {
169 template <> struct DenseMapInfo<codeview::GloballyHashedType> {
  /external/llvm/lib/Analysis/
AliasAnalysisSummary.h 38 #include "llvm/ADT/DenseMapInfo.h"
171 template <> struct DenseMapInfo<cflaa::InstantiatedValue> {
173 return cflaa::InstantiatedValue{DenseMapInfo<Value *>::getEmptyKey(),
174 DenseMapInfo<unsigned>::getEmptyKey()};
177 return cflaa::InstantiatedValue{DenseMapInfo<Value *>::getTombstoneKey(),
178 DenseMapInfo<unsigned>::getTombstoneKey()};
181 return DenseMapInfo<std::pair<Value *, unsigned>>::getHashValue(
  /external/llvm/unittests/ADT/
DenseMapTest.cpp 508 template <> struct DenseMapInfo<CachedHashTest> {
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
Dominators.h 18 #include "llvm/ADT/DenseMapInfo.h"
100 template <> struct DenseMapInfo<BasicBlockEdge> {
101 using BBInfo = DenseMapInfo<const BasicBlock *>;
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
LowLevelTypeImpl.h 30 #include "llvm/ADT/DenseMapInfo.h"
149 friend struct DenseMapInfo<LLT>;
241 template<> struct DenseMapInfo<LLT> {
255 return DenseMapInfo<uint64_t>::getHashValue(Val);
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
AliasAnalysisSummary.h 38 #include "llvm/ADT/DenseMapInfo.h"
245 template <> struct DenseMapInfo<cflaa::InstantiatedValue> {
247 return cflaa::InstantiatedValue{DenseMapInfo<Value *>::getEmptyKey(),
248 DenseMapInfo<unsigned>::getEmptyKey()};
251 return cflaa::InstantiatedValue{DenseMapInfo<Value *>::getTombstoneKey(),
252 DenseMapInfo<unsigned>::getTombstoneKey()};
255 return DenseMapInfo<std::pair<Value *, unsigned>>::getHashValue(
  /external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
BinaryHolder.h 141 template <> struct DenseMapInfo<dsymutil::BinaryHolder::ArchiveEntry::KeyTy> {
153 return hash_combine(DenseMapInfo<StringRef>::getHashValue(K.Filename),
154 DenseMapInfo<unsigned>::getHashValue(
  /external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DenseSetTest.cpp 149 template <> struct DenseMapInfo<CountCopyAndMove> {

Completed in 402 milliseconds

1 2 3 4