Home
last modified time | relevance | path

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

12

/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 …]
DValueMap.h262 static unsigned getHashValue(const VH &Val) {
263 return PointerInfo::getHashValue(Val.Unwrap());
265 static unsigned getHashValue(const KeyT &Val) {
266 return PointerInfo::getHashValue(Val);
DDenseMap.h313 static unsigned getHashValue(const KeyT &Val) { in getHashValue() function
314 return KeyInfoT::getHashValue(Val); in getHashValue()
317 static unsigned getHashValue(const LookupKeyT &Val) { in getHashValue() function
318 return KeyInfoT::getHashValue(Val); in getHashValue()
461 unsigned BucketNo = getHashValue(Val) & (NumBuckets-1); in LookupBucketFor()
DPointerIntPair.h147 static unsigned getHashValue(Ty V) {
DImmutableList.h214 static unsigned getHashValue(ImmutableList<T> X) {
/external/llvm/lib/VMCore/
DLLVMContextImpl.h61 static unsigned getHashValue(const KeyTy &Key) { in getHashValue() function
90 static unsigned getHashValue(const KeyTy &Key) { in getHashValue() function
126 static unsigned getHashValue(const KeyTy& Key) { in getHashValue() function
131 static unsigned getHashValue(const StructType *ST) { in getHashValue() function
132 return getHashValue(KeyTy(ST)); in getHashValue()
178 static unsigned getHashValue(const KeyTy& Key) { in getHashValue() function
184 static unsigned getHashValue(const FunctionType *FT) { in getHashValue() function
185 return getHashValue(KeyTy(FT)); in getHashValue()
DConstantsContext.h666 static unsigned getHashValue(const ConstantClass *CP) {
671 return getHashValue(LookupKey(CP->getType(), CPOperands));
676 static unsigned getHashValue(const LookupKey &Val) {
DDebugLoc.cpp153 unsigned DenseMapInfo<DebugLoc>::getHashValue(const DebugLoc &Key) { in getHashValue() function in DenseMapInfo
/external/clang/include/clang/AST/
DTypeOrdering.h46 static unsigned getHashValue(clang::QualType Val) {
66 static unsigned getHashValue(clang::CanQualType Val) {
DBaseSubobject.h68 static unsigned getHashValue(const clang::BaseSubobject &Base) {
70 return DenseMapInfo<PairTy>::getHashValue(PairTy(Base.getBase(),
DGlobalDecl.h105 static unsigned getHashValue(clang::GlobalDecl GD) {
106 return DenseMapInfo<void*>::getHashValue(GD.getAsOpaquePtr());
DCharUnits.h200 static unsigned getHashValue(const clang::CharUnits &CU) {
202 return DenseMapInfo<clang::CharUnits::QuantityType>::getHashValue(Quantity);
DDeclarationName.h580 static unsigned getHashValue(clang::DeclarationName Name) {
581 return DenseMapInfo<void*>::getHashValue(Name.getAsOpaquePtr());
/external/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp38 return DenseMapInfo<const void*>::getHashValue(V); in getHash()
86 static unsigned getHashValue(SimpleValue Val);
91 unsigned DenseMapInfo<SimpleValue>::getHashValue(SimpleValue Val) { in getHashValue() function in DenseMapInfo
179 static unsigned getHashValue(CallValue Val);
183 unsigned DenseMapInfo<CallValue>::getHashValue(CallValue Val) { in getHashValue() function in DenseMapInfo
/external/llvm/include/llvm/Analysis/
DAliasAnalysis.h570 static unsigned getHashValue(const AliasAnalysis::Location &Val) {
571 return DenseMapInfo<const Value *>::getHashValue(Val.Ptr) ^
572 DenseMapInfo<uint64_t>::getHashValue(Val.Size) ^
573 DenseMapInfo<const MDNode *>::getHashValue(Val.TBAATag);
/external/clang/include/clang/Basic/
DSourceLocation.h55 unsigned getHashValue() const { return static_cast<unsigned>(ID); } in getHashValue() function
413 static unsigned getHashValue(clang::FileID S) {
414 return S.getHashValue();
/external/llvm/unittests/ADT/
DDenseMapTest.cpp63 static unsigned getHashValue(const CtorTester &Val) { in getHashValue() function
297 static unsigned getHashValue(const unsigned& Val) { return Val * 37U; } in getHashValue() function
298 static unsigned getHashValue(const char* Val) { in getHashValue() function
/external/llvm/include/llvm/Support/
DDebugLoc.h107 static unsigned getHashValue(const DebugLoc &Key);
DValueHandle.h261 static unsigned getHashValue(const AssertingVH<T> &Val) {
262 return PointerInfo::getHashValue(Val);
/external/clang/include/clang/Analysis/
DProgramPoint.h137 unsigned getHashValue() const { in getHashValue() function
582 static unsigned getHashValue(const clang::ProgramPoint &Loc) {
583 return Loc.getHashValue();
/external/clang/include/clang/StaticAnalyzer/Core/
DCheckerManager.h530 unsigned getHashValue() const { in getHashValue() function
612 getHashValue(clang::ento::CheckerManager::CachedStmtCheckersKey S) {
613 return S.getHashValue();
/external/clang/lib/Basic/
DIdentifierTable.cpp289 unsigned llvm::DenseMapInfo<clang::Selector>::getHashValue(clang::Selector S) { in getHashValue() function in llvm::DenseMapInfo::Selector
290 return DenseMapInfo<void*>::getHashValue(S.getAsOpaquePtr()); in getHashValue()
/external/clang/tools/libclang/
DIndexingContext.h544 static unsigned getHashValue(clang::cxindex::RefFileOccurence S) {
546 return DenseMapInfo<PairTy>::getHashValue(PairTy(S.File, S.Dcl));
/external/llvm/lib/Support/
DSmallPtrSet.cpp106 unsigned Bucket = DenseMapInfo<void *>::getHashValue(Ptr) & (CurArraySize-1); in FindBucketFor()
/external/llvm/lib/Transforms/Utils/
DBypassSlowDivision.cpp63 static unsigned getHashValue(const DivOpInfo &Val) { in getHashValue() function

12