Home
last modified time | relevance | path

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

123456

/freebsd-src/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDenseMapInfo.h55 //static unsigned getHashValue(const T &Val);
84 static unsigned getHashValue(const T *PtrVal) {
96 static unsigned getHashValue(const char& Val) { return Val * 37U; }
107 static unsigned getHashValue(const unsigned char &Val) { return Val * 37U; }
118 static unsigned getHashValue(const unsigned short &Val) { return Val * 37U; }
129 static unsigned getHashValue(const unsigned& Val) { return Val * 37U; }
141 static unsigned getHashValue(const unsigned long& Val) {
143 return DenseMapInfo<unsigned>::getHashValue(Val);
158 static unsigned getHashValue(const unsigned long long& Val) {
172 static unsigned getHashValue(cons
[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-src/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-src/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.h84 static unsigned getHashValue(const APFloat &Key) {
121 static unsigned getHashValue(const KeyTy &Key) {
126 static unsigned getHashValue(const StructType *ST) {
127 return getHashValue(KeyTy(ST));
173 static unsigned getHashValue(const KeyTy &Key) {
179 static unsigned getHashValue(const FunctionType *FT) {
180 return getHashValue(KeyTy(FT));
221 static unsigned getHashValue(const KeyTy &Key) {
228 static unsigned getHashValue(const TargetExtType *FT) {
229 return getHashValue(KeyT
[all...]
/freebsd-src/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-src/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()
462 hash_code getHashValue() const override { in getHashValue() function
463 return hash_combine(this->BasicExpression::getHashValue(), in getHashValue()
528 hash_code getHashValue() const override { in getHashValue() function
529 return hash_combine(this->BasicExpression::getHashValue(), BB); in getHashValue()
[all …]
/freebsd-src/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-src/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTBAA.h244 static unsigned getHashValue(const clang::CodeGen::TBAAAccessInfo &Val) {
246 return DenseMapInfo<unsigned>::getHashValue(KindValue) ^
247 DenseMapInfo<MDNode *>::getHashValue(Val.BaseType) ^
248 DenseMapInfo<MDNode *>::getHashValue(Val.AccessType) ^
249 DenseMapInfo<uint64_t>::getHashValue(Val.Offset) ^
250 DenseMapInfo<uint64_t>::getHashValue(Val.Size);
/freebsd-src/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-src/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-src/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-src/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceLocation.h56 unsigned getHashValue() const { return static_cast<unsigned>(ID); } in getHashValue() function
183 unsigned getHashValue() const;
485 static unsigned getHashValue(clang::FileID S) {
486 return S.getHashValue();
508 static unsigned getHashValue(clang::SourceLocation Loc) {
509 return Loc.getHashValue();
/freebsd-src/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()
/freebsd-src/contrib/llvm-project/llvm/include/llvm/IR/
H A DValueHandle.h188 static unsigned getHashValue(const WeakVH &Val) {
189 return DenseMapInfo<Value *>::getHashValue(Val);
539 static unsigned getHashValue(const PoisoningVH<T> &Val) {
540 return DenseMapInfo<Value *>::getHashValue(Val.getRawValPtr());
551 static unsigned getHashValue(const T *Val) {
552 return DenseMapInfo<Value *>::getHashValue(Val);
H A DDominators.h123 static unsigned getHashValue(const BasicBlockEdge *V);
133 static unsigned getHashValue(const BasicBlockEdge &Edge) {
134 return hash_combine(BBInfo::getHashValue(Edge.getStart()),
135 BBInfo::getHashValue(Edge.getEnd()));
/freebsd-src/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-src/contrib/llvm-project/clang/include/clang/AST/
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-src/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVDuplicatesTracker.h
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Linker/
H A DIRMover.h38 static unsigned getHashValue(const KeyTy &Key);
39 static unsigned getHashValue(const StructType *ST);
/freebsd-src/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DSymbolStringPool.h326 static unsigned getHashValue(const orc::SymbolStringPtrBase &V) {
327 return DenseMapInfo<orc::SymbolStringPtr::PoolEntryPtr>::getHashValue(V.S);
346 static unsigned getHashValue(const orc::SymbolStringPtrBase &V) {
348 orc::NonOwningSymbolStringPtr::PoolEntryPtr>::getHashValue(V.S);
/freebsd-src/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCRegister.h116 static unsigned getHashValue(const MCRegister &Val) {
117 return DenseMapInfo<unsigned>::getHashValue(Val.id());
/freebsd-src/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DFormula.h141 static unsigned getHashValue(const Atom &Val) {
142 return DenseMapInfo<Underlying>::getHashValue(Underlying(Val));
/freebsd-src/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRegister.h157 static unsigned getHashValue(const Register &Val) {
158 return DenseMapInfo<unsigned>::getHashValue(Val.id());

123456