Home
last modified time | relevance | path

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

123

/minix3/external/bsd/llvm/dist/llvm/include/llvm/ADT/
H A 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 …]
H A DDenseMap.h343 static unsigned getHashValue(const KeyT &Val) { in getHashValue() function
344 return KeyInfoT::getHashValue(Val); in getHashValue()
347 static unsigned getHashValue(const LookupKeyT &Val) { in getHashValue() function
348 return KeyInfoT::getHashValue(Val); in getHashValue()
490 unsigned BucketNo = getHashValue(Val) & (NumBuckets-1); in LookupBucketFor()
H A DImmutableList.h213 static unsigned getHashValue(ImmutableList<T> X) {
H A DPointerIntPair.h173 static unsigned getHashValue(Ty V) {
/minix3/external/bsd/llvm/dist/llvm/lib/IR/
H A DLLVMContextImpl.h59 static unsigned getHashValue(const APInt &Key) { in getHashValue() function
70 static unsigned getHashValue(const APFloat &Key) { in getHashValue() function
103 static unsigned getHashValue(const KeyTy& Key) { in getHashValue() function
108 static unsigned getHashValue(const StructType *ST) { in getHashValue() function
109 return getHashValue(KeyTy(ST)); in getHashValue()
150 static unsigned getHashValue(const KeyTy& Key) { in getHashValue() function
156 static unsigned getHashValue(const FunctionType *FT) { in getHashValue() function
157 return getHashValue(KeyTy(FT)); in getHashValue()
206 static unsigned getHashValue(const KeyTy &Key) { return Key.Hash; } in getHashValue() function
207 static unsigned getHashValue(const MDTuple *U) { in getHashValue() function
[all …]
H A DConstantsContext.h527 static unsigned getHashValue(const ConstantClass *CP) {
529 return getHashValue(LookupKey(CP->getType(), ValType(CP, Storage)));
534 static unsigned getHashValue(const LookupKey &Val) {
/minix3/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/PBQP/
H A 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()
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A 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);
/minix3/external/bsd/llvm/dist/llvm/unittests/ADT/
H A DDenseSetTest.cpp33 static unsigned getHashValue(const unsigned& Val) { return Val * 37U; } in getHashValue() function
34 static unsigned getHashValue(const char* Val) { in getHashValue() function
H A DDenseMapTest.cpp63 static unsigned getHashValue(const CtorTester &Val) { in getHashValue() function
330 static unsigned getHashValue(const unsigned& Val) { return Val * 37U; } in getHashValue() function
331 static unsigned getHashValue(const char* Val) { in getHashValue() function
369 static unsigned getHashValue(const unsigned& Val) { return Val; } in getHashValue() function
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DTypeOrdering.h48 static unsigned getHashValue(clang::QualType Val) {
68 static unsigned getHashValue(clang::CanQualType Val) {
H A DBaseSubobject.h68 static unsigned getHashValue(const clang::BaseSubobject &Base) {
70 return DenseMapInfo<PairTy>::getHashValue(PairTy(Base.getBase(),
H A DGlobalDecl.h106 static unsigned getHashValue(clang::GlobalDecl GD) {
107 return DenseMapInfo<void*>::getHashValue(GD.getAsOpaquePtr());
H A DCharUnits.h205 static unsigned getHashValue(const clang::CharUnits &CU) {
207 return DenseMapInfo<clang::CharUnits::QuantityType>::getHashValue(Quantity);
H A DDeclarationName.h583 static unsigned getHashValue(clang::DeclarationName Name) {
584 return DenseMapInfo<void*>::getHashValue(Name.getAsOpaquePtr());
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Linker/
H A DLinker.h40 static unsigned getHashValue(const KeyTy &Key);
41 static unsigned getHashValue(const StructType *ST);
/minix3/external/bsd/llvm/dist/llvm/include/llvm/ProfileData/
H A DSampleProf.h90 static inline unsigned getHashValue(sampleprof::LineLocation Val) {
91 return DenseMapInfo<std::pair<int, unsigned>>::getHashValue(
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Analysis/
H A DAliasAnalysis.h581 static unsigned getHashValue(const AliasAnalysis::Location &Val) {
582 return DenseMapInfo<const Value *>::getHashValue(Val.Ptr) ^
583 DenseMapInfo<uint64_t>::getHashValue(Val.Size) ^
584 DenseMapInfo<AAMDNodes>::getHashValue(Val.AATags);
/minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DValueMap.h279 static unsigned getHashValue(const VH &Val) {
280 return DenseMapInfo<KeyT>::getHashValue(Val.Unwrap());
282 static unsigned getHashValue(const KeyT &Val) {
283 return DenseMapInfo<KeyT>::getHashValue(Val);
H A DValueHandle.h247 static unsigned getHashValue(const AssertingVH<T> &Val) {
248 return DenseMapInfo<Value *>::getHashValue(Val.getRawValPtr());
H A DMetadata.h513 static unsigned getHashValue(const AAMDNodes &Val) {
514 return DenseMapInfo<MDNode *>::getHashValue(Val.TBAA) ^
515 DenseMapInfo<MDNode *>::getHashValue(Val.Scope) ^
516 DenseMapInfo<MDNode *>::getHashValue(Val.NoAlias);
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp44 return DenseMapInfo<const void*>::getHashValue(V); in getHash()
87 static unsigned getHashValue(SimpleValue Val);
92 unsigned DenseMapInfo<SimpleValue>::getHashValue(SimpleValue Val) { in getHashValue() function in DenseMapInfo
230 static unsigned getHashValue(CallValue Val);
234 unsigned DenseMapInfo<CallValue>::getHashValue(CallValue Val) { in getHashValue() function in DenseMapInfo
/minix3/external/bsd/llvm/dist/clang/include/clang/Basic/
H A DSourceLocation.h56 unsigned getHashValue() const { return static_cast<unsigned>(ID); } in getHashValue() function
408 static unsigned getHashValue(clang::FileID S) {
409 return S.getHashValue();
/minix3/external/bsd/llvm/dist/clang/include/clang/Analysis/
H A DProgramPoint.h160 unsigned getHashValue() const { in getHashValue() function
689 static unsigned getHashValue(const clang::ProgramPoint &Loc) {
690 return Loc.getHashValue();
/minix3/external/bsd/llvm/dist/clang/include/clang/Sema/
H A DScopeInfo.h237 static unsigned getHashValue(const WeakObjectProfileTy &Val) { in getHashValue() function
239 return llvm::DenseMapInfo<Pair>::getHashValue(Pair(Val.Base, in getHashValue()

123