Home
last modified time | relevance | path

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

123456

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDenseMapInfo.h82 static unsigned getHashValue(const T *PtrVal) {
94 static unsigned getHashValue(const char& Val) { return Val * 37U; }
139 static unsigned getHashValue(const unsigned long& Val) {
153 static unsigned getHashValue(const unsigned long long& Val) {
167 static unsigned getHashValue(const short &Val) { return Val * 37U; }
190 static unsigned getHashValue(const long& Val) {
204 static unsigned getHashValue(const long long& Val) {
231 static unsigned getHashValue(const Pair& PairVal) {
240 return detail::combineHashValue(FirstInfo::getHashValue(First),
267 DenseMapInfo<EltType>::getHashValue(std::get<I>(values)),
[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) {
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) {
208 static constexpr unsigned getHashValue(const int &Val) {
226 static constexpr unsigned getHashValue(const long &Val) {
243 static constexpr unsigned getHashValue(const long long &Val) {
269 static constexpr unsigned getHashValue(const Pair &PairVal) {
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.h125 return getHashValue(KeyTy(ST));
178 return getHashValue(KeyTy(FT));
227 return getHashValue(KeyTy(FT));
335 unsigned getHashValue() const {
398 unsigned getHashValue() const {
428 unsigned getHashValue() const {
484 unsigned getHashValue() const {
522 unsigned getHashValue() const {
575 unsigned getHashValue() const {
1336 static unsigned getHashValue(const KeyTy &Key) { return Key.getHashValue(); }
[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/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
285 hash_code getHashValue() const override { in getHashValue() function
462 hash_code getHashValue() const override { in getHashValue() function
528 hash_code getHashValue() const override { in getHashValue() function
574 hash_code getHashValue() const override { in getHashValue() function
575 return hash_combine(this->Expression::getHashValue(), in getHashValue()
611 hash_code getHashValue() const override { in getHashValue() function
612 return hash_combine(this->Expression::getHashValue(), 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.h239 static unsigned getHashValue(const clang::CodeGen::TBAAAccessInfo &Val) {
241 return DenseMapInfo<unsigned>::getHashValue(KindValue) ^
242 DenseMapInfo<MDNode *>::getHashValue(Val.BaseType) ^
243 DenseMapInfo<MDNode *>::getHashValue(Val.AccessType) ^
244 DenseMapInfo<uint64_t>::getHashValue(Val.Offset) ^
245 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/clang/include/clang/Basic/
H A DSourceLocation.h56 unsigned getHashValue() const { return static_cast<unsigned>(ID); } in getHashValue() function
182 unsigned getHashValue() const;
484 static unsigned getHashValue(clang::FileID S) {
485 return S.getHashValue();
507 static unsigned getHashValue(clang::SourceLocation Loc) {
508 return Loc.getHashValue();
/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()
/freebsd/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/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/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/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVDuplicatesTracker.h104 Hash = (DenseMapInfo<Type *>().getHashValue(SampledTy) & 0xffff) ^ in SpecialTypeDescriptor()
173 Hash = (DenseMapInfo<Type *>().getHashValue(ElementType) & 0xffff) ^ in PointerTypeDescriptor()
191 static unsigned getHashValue(SPIRV::SpecialTypeDescriptor Val) {
196 return getHashValue(LHS) == getHashValue(RHS);
/freebsd/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/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/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/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/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