Home
last modified time | relevance | path

Searched refs:getHashValue (Results 1 – 25 of 97) sorted by relevance

1234

/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DDenseMapInfo.h43 static unsigned getHashValue(const T *PtrVal) {
54 static unsigned getHashValue(const char& Val) { return Val * 37U; }
64 static unsigned getHashValue(const unsigned& Val) { return Val * 37U; }
74 static unsigned getHashValue(const unsigned long& Val) {
86 static unsigned getHashValue(const unsigned long long& Val) {
99 static unsigned getHashValue(const int& Val) { return (unsigned)(Val * 37U); }
111 static unsigned getHashValue(const long& Val) {
123 static unsigned getHashValue(const long long& Val) {
147 static unsigned getHashValue(const Pair& PairVal) {
148 uint64_t key = (uint64_t)FirstInfo::getHashValue(PairVal.first) << 32
[all …]
/external/llvm/include/llvm/ADT/
DDenseMapInfo.h35 Hash = DenseMapInfo<T>::getHashValue(Val); in CachedHash()
52 static unsigned getHashValue(CachedHash<T> Val) {
76 static unsigned getHashValue(const T *PtrVal) {
87 static unsigned getHashValue(const char& Val) { return Val * 37U; }
97 static unsigned getHashValue(const unsigned& Val) { return Val * 37U; }
107 static unsigned getHashValue(const unsigned long& Val) {
119 static unsigned getHashValue(const unsigned long long& Val) {
132 static unsigned getHashValue(const int& Val) { return (unsigned)(Val * 37U); }
144 static unsigned getHashValue(const long& Val) {
156 static unsigned getHashValue(const long long& Val) {
[all …]
DPointerEmbeddedInt.h110 static unsigned getHashValue(const T &Arg) {
111 return IntInfo::getHashValue(Arg);
DPointerSumType.h194 static unsigned getHashValue(const SumType &Arg) {
196 return DenseMapInfo<uintptr_t>::getHashValue(OpaqueValue);
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DDenseMapInfo.h46 static unsigned getHashValue(const T *PtrVal) {
57 static unsigned getHashValue(const char& Val) { return Val * 37U; }
67 static unsigned getHashValue(const unsigned& Val) { return Val * 37U; }
77 static unsigned getHashValue(const unsigned long& Val) {
89 static unsigned getHashValue(const unsigned long long& Val) {
102 static unsigned getHashValue(const int& Val) { return (unsigned)(Val * 37U); }
114 static unsigned getHashValue(const long& Val) {
126 static unsigned getHashValue(const long long& Val) {
150 static unsigned getHashValue(const Pair& PairVal) {
151 uint64_t key = (uint64_t)FirstInfo::getHashValue(PairVal.first) << 32
[all …]
/external/llvm/lib/IR/
DLLVMContextImpl.h61 static unsigned getHashValue(const APInt &Key) { in getHashValue() function
72 static unsigned getHashValue(const APFloat &Key) { in getHashValue() function
105 static unsigned getHashValue(const KeyTy& Key) { in getHashValue() function
110 static unsigned getHashValue(const StructType *ST) { in getHashValue() function
111 return getHashValue(KeyTy(ST)); in getHashValue()
152 static unsigned getHashValue(const KeyTy& Key) { in getHashValue() function
158 static unsigned getHashValue(const FunctionType *FT) { in getHashValue() function
159 return getHashValue(KeyTy(FT)); in getHashValue()
236 unsigned getHashValue() const { return getHash(); }
262 unsigned getHashValue() const {
[all …]
DConstantsContext.h559 static unsigned getHashValue(const ConstantClass *CP) {
561 return getHashValue(LookupKey(CP->getType(), ValType(CP, Storage)));
566 static unsigned getHashValue(const LookupKey &Val) {
569 static unsigned getHashValue(const LookupKeyHashed &Val) {
613 LookupKeyHashed Lookup(MapInfo::getHashValue(Key), Key);
641 LookupKeyHashed Lookup(MapInfo::getHashValue(Key), Key);
/external/llvm/include/llvm/CodeGen/PBQP/
DCostAllocator.h56 static unsigned getHashValue(const ValueKeyT &C) { in getHashValue() function
60 static unsigned getHashValue(PoolEntry *P) { in getHashValue() function
61 return getHashValue(P->getValue()); in getHashValue()
64 static unsigned getHashValue(const PoolEntry *P) { in getHashValue() function
65 return getHashValue(P->getValue()); in getHashValue()
/external/llvm/include/llvm/Analysis/
DMemoryLocation.h131 static unsigned getHashValue(const MemoryLocation &Val) {
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/lib/VMCore/
DLLVMContextImpl.h57 static unsigned getHashValue(const KeyTy &Key) { in getHashValue() function
58 return DenseMapInfo<void*>::getHashValue(Key.type) ^ in getHashValue()
59 Key.val.getHashValue(); in getHashValue()
84 static unsigned getHashValue(const KeyTy &Key) { in getHashValue() function
85 return Key.val.getHashValue(); in getHashValue()
/external/clang/lib/CodeGen/
DCodeGenTBAA.h141 static unsigned getHashValue(const clang::CodeGen::TBAAPathTag &Val) {
142 return DenseMapInfo<const clang::Type *>::getHashValue(Val.BaseT) ^
143 DenseMapInfo<const MDNode *>::getHashValue(Val.AccessN) ^
144 DenseMapInfo<uint64_t>::getHashValue(Val.Offset);
/external/llvm/include/llvm/IR/
DDominators.h59 static unsigned getHashValue(const BasicBlockEdge *V);
68 static unsigned getHashValue(const BasicBlockEdge &Edge) {
69 return hash_combine(BBInfo::getHashValue(Edge.getStart()),
70 BBInfo::getHashValue(Edge.getEnd()));
DValueMap.h301 static unsigned getHashValue(const VH &Val) {
302 return DenseMapInfo<KeyT>::getHashValue(Val.Unwrap());
304 static unsigned getHashValue(const KeyT &Val) {
305 return DenseMapInfo<KeyT>::getHashValue(Val);
/external/llvm/unittests/ADT/
DDenseSetTest.cpp33 static unsigned getHashValue(const unsigned& Val) { return Val * 37U; } in getHashValue() function
34 static unsigned getHashValue(const char* Val) { in getHashValue() function
DDenseMapTest.cpp64 static unsigned getHashValue(const CtorTester &Val) { in getHashValue() function
511 static unsigned getHashValue(const CachedHashTest &X) { in getHashValue() function
553 static unsigned getHashValue(const unsigned& Val) { return Val * 37U; } in getHashValue() function
554 static unsigned getHashValue(const char* Val) { in getHashValue() function
592 static unsigned getHashValue(const unsigned& Val) { return Val; } in getHashValue() function
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DEarlyCSE.cpp36 return DenseMapInfo<const void*>::getHashValue(V); in getHash()
84 static unsigned getHashValue(SimpleValue Val);
89 unsigned DenseMapInfo<SimpleValue>::getHashValue(SimpleValue Val) { in getHashValue() function in DenseMapInfo
177 static unsigned getHashValue(CallValue Val);
181 unsigned DenseMapInfo<CallValue>::getHashValue(CallValue Val) { in getHashValue() function in DenseMapInfo
/external/clang/include/clang/AST/
DTypeOrdering.h48 static unsigned getHashValue(clang::QualType Val) {
68 static unsigned getHashValue(clang::CanQualType Val) {
DBaseSubobject.h67 static unsigned getHashValue(const clang::BaseSubobject &Base) {
69 return DenseMapInfo<PairTy>::getHashValue(PairTy(Base.getBase(),
DGlobalDecl.h108 static unsigned getHashValue(clang::GlobalDecl GD) {
109 return DenseMapInfo<void*>::getHashValue(GD.getAsOpaquePtr());
DCharUnits.h230 static unsigned getHashValue(const clang::CharUnits &CU) {
232 return DenseMapInfo<clang::CharUnits::QuantityType>::getHashValue(Quantity);
/external/llvm/include/llvm/Linker/
DIRMover.h38 static unsigned getHashValue(const KeyTy &Key);
39 static unsigned getHashValue(const StructType *ST);
/external/llvm/lib/Analysis/
DAliasAnalysisSummary.h180 static unsigned getHashValue(const cflaa::InstantiatedValue &IV) {
181 return DenseMapInfo<std::pair<Value *, unsigned>>::getHashValue(
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DAliasAnalysis.h545 static unsigned getHashValue(const AliasAnalysis::Location &Val) {
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/Basic/
DSourceLocation.h57 unsigned getHashValue() const { return static_cast<unsigned>(ID); } in getHashValue() function
409 static unsigned getHashValue(clang::FileID S) {
410 return S.getHashValue();
/external/llvm/tools/llvm-dwp/
DDWPStringPool.h19 static unsigned getHashValue(const char *Val) { in getHashValue() function

1234