Home
last modified time | relevance | path

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

1234567

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDenseMapInfo.h85 static unsigned getHashValue(const T *PtrVal) {
97 static unsigned getHashValue(const char& Val) { return Val * 37U; }
108 static unsigned getHashValue(const unsigned char &Val) { return Val * 37U; }
119 static unsigned getHashValue(const unsigned short &Val) { return Val * 37U; }
130 static unsigned getHashValue(const unsigned& Val) { return Val * 37U; }
142 static unsigned getHashValue(const unsigned long& Val) {
144 return DenseMapInfo<unsigned>::getHashValue(Val);
159 static unsigned getHashValue(const unsigned long long& Val) {
173 static unsigned getHashValue(const short &Val) { return Val * 37U; }
181 static unsigned getHashValue(const int& Val) { return (unsigned)(Val * 37U); }
[all …]
H A DCachedHashString.h37 : CachedHashStringRef(S, DenseMapInfo<StringRef>::getHashValue(S)) {} in CachedHashStringRef()
57 static unsigned getHashValue(const CachedHashStringRef &S) {
102 : CachedHashString(S, DenseMapInfo<StringRef>::getHashValue(S)) {}
162 static unsigned getHashValue(const CachedHashString &S) {
H A DPointerEmbeddedInt.h110 static unsigned getHashValue(const T &Arg) {
111 return IntInfo::getHashValue(Arg);
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_dense_map_info.h95 static constexpr unsigned getHashValue(const T *PtrVal) {
109 static constexpr unsigned getHashValue(const char &Val) { return Val * 37U; }
121 static constexpr unsigned getHashValue(const unsigned char &Val) {
136 static constexpr unsigned getHashValue(const unsigned short &Val) {
151 static constexpr unsigned getHashValue(const unsigned &Val) {
166 static constexpr unsigned getHashValue(const unsigned long &Val) {
182 static constexpr unsigned getHashValue(const unsigned long long &Val) {
197 static constexpr unsigned getHashValue(const short &Val) { return Val * 37U; }
208 static constexpr unsigned getHashValue(const int &Val) {
226 static constexpr unsigned getHashValue(const long &Val) {
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DWasmTraits.h33 static unsigned getHashValue(const wasm::WasmSignature &Sig) {
55 static unsigned getHashValue(const wasm::WasmGlobalType &GlobalType) {
72 static unsigned getHashValue(const wasm::WasmLimits &Limits) {
97 static unsigned getHashValue(const wasm::WasmTableType &TableType) {
100 DenseMapInfo<wasm::WasmLimits, void>::getHashValue(TableType.Limits));
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.h84 static unsigned getHashValue(const APFloat &Key) {
121 static unsigned getHashValue(const KeyTy &Key) {
125 static unsigned getHashValue(const StructType *ST) {
126 return getHashValue(KeyTy(ST));
172 static unsigned getHashValue(const KeyTy &Key) {
177 static unsigned getHashValue(const FunctionType *FT) {
178 return getHashValue(KeyTy(FT));
219 static unsigned getHashValue(const KeyTy &Key) {
224 static unsigned getHashValue(const TargetExtType *FT) {
225 return getHashValue(KeyTy(FT));
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DGVNExpression.h96 HashVal = getHashValue(); in getComputedHash()
113 virtual hash_code getHashValue() const { return getOpcode(); } in getHashValue() function
222 hash_code getHashValue() const override { in getHashValue() function
223 return hash_combine(this->Expression::getHashValue(), ValueType, in getHashValue()
285 hash_code getHashValue() const override { in getHashValue() function
286 return hash_combine(this->BasicExpression::getHashValue(), MemoryLeader); in getHashValue()
468 hash_code getHashValue() const override { in getHashValue() function
469 return hash_combine(this->BasicExpression::getHashValue(), in getHashValue()
534 hash_code getHashValue() const override { in getHashValue() function
535 return hash_combine(this->BasicExpression::getHashValue(), BB); in getHashValue()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/PBQP/
H A DCostAllocator.h57 static unsigned getHashValue(const ValueKeyT &C) { in getHashValue() function
61 static unsigned getHashValue(PoolEntry *P) { in getHashValue() function
62 return getHashValue(P->getValue()); in getHashValue()
65 static unsigned getHashValue(const PoolEntry *P) { in getHashValue() function
66 return getHashValue(P->getValue()); in getHashValue()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTBAA.h251 static unsigned getHashValue(const clang::CodeGen::TBAAAccessInfo &Val) {
253 return DenseMapInfo<unsigned>::getHashValue(KindValue) ^
254 DenseMapInfo<MDNode *>::getHashValue(Val.BaseType) ^
255 DenseMapInfo<MDNode *>::getHashValue(Val.AccessType) ^
256 DenseMapInfo<uint64_t>::getHashValue(Val.Offset) ^
257 DenseMapInfo<uint64_t>::getHashValue(Val.Size);
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DFileEntry.h56 static unsigned getHashValue(const gsym::FileEntry &Val) {
57 return llvm::hash_combine(DenseMapInfo<uint32_t>::getHashValue(Val.Dir),
58 DenseMapInfo<uint32_t>::getHashValue(Val.Base));
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryLocation.h335 static unsigned getHashValue(const LocationSize &Val) {
336 return DenseMapInfo<uint64_t>::getHashValue(Val.toRaw());
352 static unsigned getHashValue(const MemoryLocation &Val) {
353 return DenseMapInfo<const Value *>::getHashValue(Val.Ptr) ^
354 DenseMapInfo<LocationSize>::getHashValue(Val.Size) ^
355 DenseMapInfo<AAMDNodes>::getHashValue(Val.AATags);
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYTargetStreamer.h84 static unsigned getHashValue(const CSKYTargetStreamer::SymbolIndex &V) {
85 return hash_combine(DenseMapInfo<const MCSymbol *>::getHashValue(V.sym),
86 DenseMapInfo<int>::getHashValue(V.kind));
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DUniqueBBID.h37 static unsigned getHashValue(const UniqueBBID &Val) {
40 return DenseMapInfo<std::pair<unsigned, unsigned>>::getHashValue(PairVal);
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclID.h256 static unsigned getHashValue(const GlobalDeclID &Key) {
257 return DenseMapInfo<DeclID>::getHashValue(Key.getRawValue());
277 static unsigned getHashValue(const LocalDeclID &Key) {
278 return DenseMapInfo<DeclID>::getHashValue(Key.getRawValue());
H A DTypeOrdering.h46 static unsigned getHashValue(clang::QualType Val) {
66 static unsigned getHashValue(clang::CanQualType Val) {
H A DBaseSubobject.h70 static unsigned getHashValue(const clang::BaseSubobject &Base) {
73 return DenseMapInfo<PairTy>::getHashValue(PairTy(Base.getBase(),
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DWeak.h45 static unsigned getHashValue(const WeakInfo &W) { in getHashValue() function
46 return DenseMapInfo::getHashValue(W.getAlias()); in getHashValue()
H A DSemaCUDA.h306 static unsigned getHashValue(const FunctionDeclAndLoc &FDL) {
307 return hash_combine(FDBaseInfo::getHashValue(FDL.FD),
308 FDL.Loc.getHashValue());
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceLocation.h56 unsigned getHashValue() const { return static_cast<unsigned>(ID); } in getHashValue() function
185 unsigned getHashValue() const;
487 static unsigned getHashValue(clang::FileID S) {
488 return S.getHashValue();
510 static unsigned getHashValue(clang::SourceLocation Loc) {
511 return Loc.getHashValue();
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DValueHandle.h189 static unsigned getHashValue(const WeakVH &Val) {
190 return DenseMapInfo<Value *>::getHashValue(Val);
540 static unsigned getHashValue(const PoisoningVH<T> &Val) {
541 return DenseMapInfo<Value *>::getHashValue(Val.getRawValPtr());
552 static unsigned getHashValue(const T *Val) {
553 return DenseMapInfo<Value *>::getHashValue(Val);
H A DDominators.h126 LLVM_ABI static unsigned getHashValue(const BasicBlockEdge *V);
136 static unsigned getHashValue(const BasicBlockEdge &Edge) {
137 return hash_combine(BBInfo::getHashValue(Edge.getStart()),
138 BBInfo::getHashValue(Edge.getEnd()));
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DMemoryFlags.h216 static unsigned getHashValue(const orc::MemProt &Val) {
218 return DenseMapInfo<UT>::getHashValue(static_cast<UT>(Val));
232 static unsigned getHashValue(const orc::AllocGroup &Val) {
233 return DenseMapInfo<orc::AllocGroup::underlying_type>::getHashValue(Val.Id);
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCRegister.h110 static unsigned getHashValue(const MCRegister &Val) {
111 return DenseMapInfo<unsigned>::getHashValue(Val.id());
/freebsd/contrib/llvm-project/llvm/include/llvm/Linker/
H A DIRMover.h39 LLVM_ABI static unsigned getHashValue(const KeyTy &Key);
40 LLVM_ABI static unsigned getHashValue(const StructType *ST);
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DSymbolStringPool.h334 static unsigned getHashValue(const orc::SymbolStringPtrBase &V) {
335 return DenseMapInfo<orc::SymbolStringPtr::PoolEntryPtr>::getHashValue(V.S);
354 static unsigned getHashValue(const orc::SymbolStringPtrBase &V) {
356 orc::NonOwningSymbolStringPtr::PoolEntryPtr>::getHashValue(V.S);

1234567