HomeSort by: relevance | last modified time | path
    Searched defs:DenseMapInfo (Results 1 - 25 of 69) sorted by relevancy

1 2 3

  /src/external/apache2/llvm/dist/clang/include/clang/AST/
TypeOrdering.h 37 template<class> struct DenseMapInfo;
39 template<> struct DenseMapInfo<clang::QualType> {
57 template<> struct DenseMapInfo<clang::CanQualType> {
BaseSubobject.h 18 #include "llvm/ADT/DenseMapInfo.h"
57 template<> struct DenseMapInfo<clang::BaseSubobject> {
60 DenseMapInfo<const clang::CXXRecordDecl *>::getEmptyKey(),
61 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getEmptyKey()));
66 DenseMapInfo<const clang::CXXRecordDecl *>::getTombstoneKey(),
67 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getTombstoneKey()));
73 return DenseMapInfo<PairTy>::getHashValue(PairTy(Base.getBase(),
GlobalDecl.h 23 #include "llvm/ADT/DenseMapInfo.h"
203 template<> struct DenseMapInfo<clang::GlobalDecl> {
214 return DenseMapInfo<void*>::getHashValue(GD.getAsOpaquePtr());
CharUnits.h 16 #include "llvm/ADT/DenseMapInfo.h"
219 template<> struct DenseMapInfo<clang::CharUnits> {
222 DenseMapInfo<clang::CharUnits::QuantityType>::getEmptyKey();
229 DenseMapInfo<clang::CharUnits::QuantityType>::getTombstoneKey();
236 return DenseMapInfo<clang::CharUnits::QuantityType>::getHashValue(Quantity);
NestedNameSpecifier.h 20 #include "llvm/ADT/DenseMapInfo.h"
533 template <> struct DenseMapInfo<clang::NestedNameSpecifierLoc> {
534 using FirstInfo = DenseMapInfo<clang::NestedNameSpecifier *>;
535 using SecondInfo = DenseMapInfo<void *>;
Redeclarable.h 17 #include "llvm/ADT/DenseMapInfo.h"
372 friend struct llvm::DenseMapInfo<CanonicalDeclPtr<decl_type>>;
383 struct DenseMapInfo<clang::CanonicalDeclPtr<decl_type>> {
385 using BaseInfo = DenseMapInfo<decl_type *>;
  /src/external/apache2/llvm/dist/llvm/include/llvm/BinaryFormat/
WasmTraits.h 9 // This file provides llvm::DenseMapInfo traits for the Wasm structures.
21 template <typename T> struct DenseMapInfo;
24 template <> struct DenseMapInfo<wasm::WasmSignature> {
50 template <> struct DenseMapInfo<wasm::WasmGlobalType> {
  /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
DenseMapInfo.h 1 //===- llvm/ADT/DenseMapInfo.h - Type traits for DenseMap -------*- C++ -*-===//
9 // This file defines DenseMapInfo traits for DenseMap.
47 struct DenseMapInfo {
54 // Provide DenseMapInfo for all pointers. Come up with sentinel pointer values
60 struct DenseMapInfo<T*> {
87 // Provide DenseMapInfo for chars.
88 template<> struct DenseMapInfo<char> {
98 // Provide DenseMapInfo for unsigned chars.
99 template <> struct DenseMapInfo<unsigned char> {
109 // Provide DenseMapInfo for unsigned shorts
    [all...]
CachedHashString.h 22 #include "llvm/ADT/DenseMapInfo.h"
36 : CachedHashStringRef(S, DenseMapInfo<StringRef>::getHashValue(S)) {}
49 template <> struct DenseMapInfo<CachedHashStringRef> {
51 return CachedHashStringRef(DenseMapInfo<StringRef>::getEmptyKey(), 0);
54 return CachedHashStringRef(DenseMapInfo<StringRef>::getTombstoneKey(), 1);
64 DenseMapInfo<StringRef>::isEqual(LHS.val(), RHS.val());
72 friend struct DenseMapInfo<CachedHashString>;
78 static char *getEmptyKeyPtr() { return DenseMapInfo<char *>::getEmptyKey(); }
80 return DenseMapInfo<char *>::getTombstoneKey();
101 : CachedHashString(S, DenseMapInfo<StringRef>::getHashValue(S)) {
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/GSYM/
FileEntry.h 12 #include "llvm/ADT/DenseMapInfo.h"
47 template <> struct DenseMapInfo<gsym::FileEntry> {
49 uint32_t key = DenseMapInfo<uint32_t>::getEmptyKey();
53 uint32_t key = DenseMapInfo<uint32_t>::getTombstoneKey();
57 return llvm::hash_combine(DenseMapInfo<uint32_t>::getHashValue(Val.Dir),
58 DenseMapInfo<uint32_t>::getHashValue(Val.Base));
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
BypassSlowDivision.h 21 #include "llvm/ADT/DenseMapInfo.h"
41 template <> struct DenseMapInfo<DivRemMapKey> {
  /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
sanitizer_dense_map_info.h 63 struct DenseMapInfo {
70 // Provide DenseMapInfo for all pointers. Come up with sentinel pointer values
76 struct DenseMapInfo<T *> {
104 // Provide DenseMapInfo for chars.
106 struct DenseMapInfo<char> {
116 // Provide DenseMapInfo for unsigned chars.
118 struct DenseMapInfo<unsigned char> {
131 // Provide DenseMapInfo for unsigned shorts.
133 struct DenseMapInfo<unsigned short> {
146 // Provide DenseMapInfo for unsigned ints
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Basic/
TokenKinds.h 17 #include "llvm/ADT/DenseMapInfo.h"
103 template <> struct DenseMapInfo<clang::tok::PPKeywordKind> {
DirectoryEntry.h 18 #include "llvm/ADT/DenseMapInfo.h"
94 friend struct llvm::DenseMapInfo<DirectoryEntryRef>;
98 // Private constructors for use by DenseMapInfo.
100 : ME(llvm::DenseMapInfo<const MapEntry *>::getEmptyKey()) {}
102 : ME(llvm::DenseMapInfo<const MapEntry *>::getTombstoneKey()) {}
192 /// Specialisation of DenseMapInfo for DirectoryEntryRef.
193 template <> struct DenseMapInfo<clang::DirectoryEntryRef> {
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
AssumeBundleQueries.h 52 template<> struct DenseMapInfo<Attribute::AttrKind> {
MemoryLocation.h 18 #include "llvm/ADT/DenseMapInfo.h"
315 // Specialize DenseMapInfo.
316 template <> struct DenseMapInfo<LocationSize> {
324 return DenseMapInfo<uint64_t>::getHashValue(Val.toRaw());
331 template <> struct DenseMapInfo<MemoryLocation> {
333 return MemoryLocation(DenseMapInfo<const Value *>::getEmptyKey(),
334 DenseMapInfo<LocationSize>::getEmptyKey());
337 return MemoryLocation(DenseMapInfo<const Value *>::getTombstoneKey(),
338 DenseMapInfo<LocationSize>::getTombstoneKey());
341 return DenseMapInfo<const Value *>::getHashValue(Val.Ptr)
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Frontend/OpenMP/
OMPContext.h 194 template <> struct DenseMapInfo<omp::TraitProperty> {
  /src/external/apache2/llvm/dist/llvm/include/llvm/MC/
MCRegister.h 12 #include "llvm/ADT/DenseMapInfo.h"
38 // DenseMapInfo<unsigned> uses -1u and -2u.
93 // Provide DenseMapInfo for MCRegister
94 template<> struct DenseMapInfo<MCRegister> {
96 return DenseMapInfo<unsigned>::getEmptyKey();
99 return DenseMapInfo<unsigned>::getTombstoneKey();
102 return DenseMapInfo<unsigned>::getHashValue(Val.id());
105 return DenseMapInfo<unsigned>::isEqual(LHS.id(), RHS.id());
  /src/external/apache2/llvm/dist/clang/lib/AST/
ItaniumCXXABI.cpp 79 return llvm::DenseMapInfo<T>::isEqual(
80 V, llvm::DenseMapInfo<T>::getEmptyKey());
83 return llvm::DenseMapInfo<T>::isEqual(
84 V, llvm::DenseMapInfo<T>::getTombstoneKey());
103 struct DenseMapInfo<DecompositionDeclName> {
104 using ArrayInfo = llvm::DenseMapInfo<ArrayRef<const BindingDecl*>>;
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/
TypeHashing.h 12 #include "llvm/ADT/DenseMapInfo.h"
180 template <> struct DenseMapInfo<codeview::LocallyHashedType> {
200 template <> struct DenseMapInfo<codeview::GloballyHashedType> {
  /src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/
SymbolStringPool.h 53 friend struct DenseMapInfo<SymbolStringPtr>;
186 struct DenseMapInfo<orc::SymbolStringPtr> {
197 return DenseMapInfo<orc::SymbolStringPtr::PoolEntryPtr>::getHashValue(V.S);
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
Dominators.h 17 #include "llvm/ADT/DenseMapInfo.h"
109 template <> struct DenseMapInfo<BasicBlockEdge> {
110 using BBInfo = DenseMapInfo<const BasicBlock *>;
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
AliasAnalysisSummary.h 37 #include "llvm/ADT/DenseMapInfo.h"
248 template <> struct DenseMapInfo<cflaa::InstantiatedValue> {
250 return cflaa::InstantiatedValue{DenseMapInfo<Value *>::getEmptyKey(),
251 DenseMapInfo<unsigned>::getEmptyKey()};
254 return cflaa::InstantiatedValue{DenseMapInfo<Value *>::getTombstoneKey(),
255 DenseMapInfo<unsigned>::getTombstoneKey()};
258 return DenseMapInfo<std::pair<Value *, unsigned>>::getHashValue(
  /src/external/apache2/llvm/dist/llvm/tools/dsymutil/
BinaryHolder.h 148 template <> struct DenseMapInfo<dsymutil::BinaryHolder::ArchiveEntry::KeyTy> {
160 return hash_combine(DenseMapInfo<StringRef>::getHashValue(K.Filename),
161 DenseMapInfo<unsigned>::getHashValue(
  /src/external/apache2/llvm/dist/clang/include/clang/Analysis/
CallGraph.h 216 // Specialize DenseMapInfo for clang::CallGraphNode::CallRecord.
217 template <> struct DenseMapInfo<clang::CallGraphNode::CallRecord> {
220 DenseMapInfo<clang::CallGraphNode *>::getEmptyKey(),
221 DenseMapInfo<clang::Expr *>::getEmptyKey());
226 DenseMapInfo<clang::CallGraphNode *>::getTombstoneKey(),
227 DenseMapInfo<clang::Expr *>::getTombstoneKey());
233 return DenseMapInfo<clang::CallGraphNode *>::getHashValue(Val.Callee);

Completed in 41 milliseconds

1 2 3