Home
last modified time | relevance | path

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

123

/external/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 …]
DDenseMap.h346 static unsigned getHashValue(const KeyT &Val) { in getHashValue() function
347 return KeyInfoT::getHashValue(Val); in getHashValue()
350 static unsigned getHashValue(const LookupKeyT &Val) { in getHashValue() function
351 return KeyInfoT::getHashValue(Val); in getHashValue()
496 unsigned BucketNo = getHashValue(Val) & (NumBuckets-1); in LookupBucketFor()
DPointerUnion.h497 static unsigned getHashValue(const Pair &PairVal) {
499 return DenseMapInfo<intptr_t>::getHashValue(key);
/external/llvm/lib/IR/
DLLVMContextImpl.h60 static unsigned getHashValue(const APInt &Key) { in getHashValue() function
71 static unsigned getHashValue(const APFloat &Key) { in getHashValue() function
104 static unsigned getHashValue(const KeyTy& Key) { in getHashValue() function
109 static unsigned getHashValue(const StructType *ST) { in getHashValue() function
110 return getHashValue(KeyTy(ST)); in getHashValue()
151 static unsigned getHashValue(const KeyTy& Key) { in getHashValue() function
157 static unsigned getHashValue(const FunctionType *FT) { in getHashValue() function
158 return getHashValue(KeyTy(FT)); in getHashValue()
224 unsigned getHashValue() const { return getHash(); }
250 unsigned getHashValue() const {
[all …]
DConstantsContext.h527 static unsigned getHashValue(const ConstantClass *CP) {
529 return getHashValue(LookupKey(CP->getType(), ValType(CP, Storage)));
534 static unsigned getHashValue(const LookupKey &Val) {
/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/clang/lib/CodeGen/
DCodeGenTBAA.h144 static unsigned getHashValue(const clang::CodeGen::TBAAPathTag &Val) {
145 return DenseMapInfo<const clang::Type *>::getHashValue(Val.BaseT) ^
146 DenseMapInfo<const MDNode *>::getHashValue(Val.AccessN) ^
147 DenseMapInfo<uint64_t>::getHashValue(Val.Offset);
/external/skia/tools/
Dimage_expectations.cpp71 return (this->getHashValue() == other.getHashValue()); in equals()
80 uint64_t ImageDigest::getHashValue() { in getHashValue() function in sk_tools::ImageDigest
171 Json::Value actualChecksumValue = Json::UInt64(digest.getHashValue()); in add()
Dimage_expectations.h60 uint64_t getHashValue();
/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
331 static unsigned getHashValue(const unsigned& Val) { return Val * 37U; } in getHashValue() function
332 static unsigned getHashValue(const char* Val) { in getHashValue() function
370 static unsigned getHashValue(const unsigned& Val) { return Val; } in getHashValue() function
/external/clang/include/clang/AST/
DTypeOrdering.h48 static unsigned getHashValue(clang::QualType Val) {
68 static unsigned getHashValue(clang::CanQualType Val) {
DBaseSubobject.h68 static unsigned getHashValue(const clang::BaseSubobject &Base) {
70 return DenseMapInfo<PairTy>::getHashValue(PairTy(Base.getBase(),
DGlobalDecl.h106 static unsigned getHashValue(clang::GlobalDecl GD) {
107 return DenseMapInfo<void*>::getHashValue(GD.getAsOpaquePtr());
DCharUnits.h205 static unsigned getHashValue(const clang::CharUnits &CU) {
207 return DenseMapInfo<clang::CharUnits::QuantityType>::getHashValue(Quantity);
DDeclarationName.h583 static unsigned getHashValue(clang::DeclarationName Name) {
584 return DenseMapInfo<void*>::getHashValue(Name.getAsOpaquePtr());
/external/llvm/include/llvm/Linker/
DLinker.h40 static unsigned getHashValue(const KeyTy &Key);
41 static unsigned getHashValue(const StructType *ST);
/external/llvm/include/llvm/IR/
DValueMap.h282 static unsigned getHashValue(const VH &Val) {
283 return DenseMapInfo<KeyT>::getHashValue(Val.Unwrap());
285 static unsigned getHashValue(const KeyT &Val) {
286 return DenseMapInfo<KeyT>::getHashValue(Val);
DValueHandle.h247 static unsigned getHashValue(const AssertingVH<T> &Val) {
248 return DenseMapInfo<Value *>::getHashValue(Val.getRawValPtr());
DMetadata.h568 static unsigned getHashValue(const AAMDNodes &Val) {
569 return DenseMapInfo<MDNode *>::getHashValue(Val.TBAA) ^
570 DenseMapInfo<MDNode *>::getHashValue(Val.Scope) ^
571 DenseMapInfo<MDNode *>::getHashValue(Val.NoAlias);
/external/llvm/include/llvm/Analysis/
DAliasAnalysis.h611 static unsigned getHashValue(const AliasAnalysis::Location &Val) {
612 return DenseMapInfo<const Value *>::getHashValue(Val.Ptr) ^
613 DenseMapInfo<uint64_t>::getHashValue(Val.Size) ^
614 DenseMapInfo<AAMDNodes>::getHashValue(Val.AATags);
/external/clang/include/clang/Basic/
DSourceLocation.h56 unsigned getHashValue() const { return static_cast<unsigned>(ID); } in getHashValue() function
408 static unsigned getHashValue(clang::FileID S) {
409 return S.getHashValue();
/external/llvm/include/llvm/ProfileData/
DSampleProf.h90 static inline unsigned getHashValue(sampleprof::LineLocation Val) {
91 return DenseMapInfo<std::pair<int, unsigned>>::getHashValue(
/external/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp85 static unsigned getHashValue(SimpleValue Val);
90 unsigned DenseMapInfo<SimpleValue>::getHashValue(SimpleValue Val) { in getHashValue() function in DenseMapInfo
232 static unsigned getHashValue(CallValue Val);
237 unsigned DenseMapInfo<CallValue>::getHashValue(CallValue Val) { in getHashValue() function in DenseMapInfo
/external/clang/include/clang/Analysis/
DProgramPoint.h160 unsigned getHashValue() const { in getHashValue() function
689 static unsigned getHashValue(const clang::ProgramPoint &Loc) {
690 return Loc.getHashValue();

123