Home
last modified time | relevance | path

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

123

/external/llvm/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 …]
DDenseMap.h336 static unsigned getHashValue(const KeyT &Val) { in getHashValue() function
337 return KeyInfoT::getHashValue(Val); in getHashValue()
340 static unsigned getHashValue(const LookupKeyT &Val) { in getHashValue() function
341 return KeyInfoT::getHashValue(Val); in getHashValue()
486 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.h564 static unsigned getHashValue(const ConstantClass *CP) {
566 return getHashValue(LookupKey(CP->getType(), ValType(CP, Storage)));
571 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/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/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/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
372 static unsigned getHashValue(const unsigned& Val) { return Val * 37U; } in getHashValue() function
373 static unsigned getHashValue(const char* Val) { in getHashValue() function
411 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.h223 static unsigned getHashValue(const clang::CharUnits &CU) {
225 return DenseMapInfo<clang::CharUnits::QuantityType>::getHashValue(Quantity);
DDeclarationName.h583 static unsigned getHashValue(clang::DeclarationName Name) {
584 return DenseMapInfo<void*>::getHashValue(Name.getAsOpaquePtr());
DASTTypeTraits.h103 static unsigned getHashValue(const ASTNodeKind &Val) { return Val.KindId; } in getHashValue() function
337 static unsigned getHashValue(const DynTypedNode &Val) {
/external/llvm/include/llvm/Linker/
DIRMover.h36 static unsigned getHashValue(const KeyTy &Key);
37 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.h255 static unsigned getHashValue(const AssertingVH<T> &Val) {
256 return DenseMapInfo<Value *>::getHashValue(Val.getRawValPtr());
DMetadata.h582 static unsigned getHashValue(const AAMDNodes &Val) {
583 return DenseMapInfo<MDNode *>::getHashValue(Val.TBAA) ^
584 DenseMapInfo<MDNode *>::getHashValue(Val.Scope) ^
585 DenseMapInfo<MDNode *>::getHashValue(Val.NoAlias);
/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/lib/Transforms/Scalar/
DEarlyCSE.cpp86 static unsigned getHashValue(SimpleValue Val);
91 unsigned DenseMapInfo<SimpleValue>::getHashValue(SimpleValue Val) { in getHashValue() function in DenseMapInfo
233 static unsigned getHashValue(CallValue Val);
238 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();
/external/clang/include/clang/Serialization/
DASTBitCodes.h114 static inline unsigned getHashValue(QualType T) { in getHashValue() function
1595 getHashValue(const clang::serialization::DeclarationNameKey &Key) {
/external/clang/include/clang/Sema/
DScopeInfo.h254 static unsigned getHashValue(const WeakObjectProfileTy &Val) { in getHashValue() function
256 return llvm::DenseMapInfo<Pair>::getHashValue(Pair(Val.Base, in getHashValue()

123