Home
last modified time | relevance | path

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

1234

/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DDenseMapInfo.h51 static unsigned getHashValue(const T *PtrVal) {
63 static unsigned getHashValue(const char& Val) { return Val * 37U; }
97 static unsigned getHashValue(const unsigned long& Val) {
111 static unsigned getHashValue(const unsigned long long& Val) {
148 static unsigned getHashValue(const long& Val) {
162 static unsigned getHashValue(const long long& Val) {
189 static unsigned getHashValue(const Pair& PairVal) {
191 | (uint64_t)SecondInfo::getHashValue(PairVal.second);
221 static unsigned getHashValue(StringRef Val) {
249 static unsigned getHashValue(ArrayRef<T> Val) {
[all …]
H A DCachedHashString.h38 : CachedHashStringRef(S, DenseMapInfo<StringRef>::getHashValue(S)) {} in CachedHashStringRef()
58 static unsigned getHashValue(const CachedHashStringRef &S) {
103 : CachedHashString(S, DenseMapInfo<StringRef>::getHashValue(S)) {}
163 static unsigned getHashValue(const CachedHashString &S) {
H A DPointerEmbeddedInt.h111 static unsigned getHashValue(const T &Arg) {
112 return IntInfo::getHashValue(Arg);
/freebsd-12.1/contrib/llvm/lib/IR/
H A DLLVMContextImpl.h135 return getHashValue(KeyTy(ST)); in getHashValue()
191 return getHashValue(KeyTy(FT)); in getHashValue()
299 unsigned getHashValue() const {
349 unsigned getHashValue() const {
400 unsigned getHashValue() const {
448 unsigned getHashValue() const {
551 unsigned getHashValue() const {
601 unsigned getHashValue() const {
671 unsigned getHashValue() const {
745 unsigned getHashValue() const {
[all …]
H A DConstantsContext.h590 static unsigned getHashValue(const ConstantClass *CP) {
592 return getHashValue(LookupKey(CP->getType(), ValType(CP, Storage)));
599 static unsigned getHashValue(const LookupKey &Val) {
603 static unsigned getHashValue(const LookupKeyHashed &Val) {
650 LookupKeyHashed Lookup(MapInfo::getHashValue(Key), Key);
678 LookupKeyHashed Lookup(MapInfo::getHashValue(Key), Key);
/freebsd-12.1/contrib/llvm/include/llvm/Transforms/Scalar/
H A DGVNExpression.h97 HashVal = getHashValue(); in getComputedHash()
114 virtual hash_code getHashValue() const { return getOpcode(); } in getHashValue() function
223 hash_code getHashValue() const override { in getHashValue() function
281 hash_code getHashValue() const override { in getHashValue() function
464 hash_code getHashValue() const override { in getHashValue() function
525 hash_code getHashValue() const override { in getHashValue() function
571 hash_code getHashValue() const override { in getHashValue() function
572 return hash_combine(this->Expression::getHashValue(), in getHashValue()
608 hash_code getHashValue() const override { in getHashValue() function
609 return hash_combine(this->Expression::getHashValue(), in getHashValue()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/PBQP/
H A DCostAllocator.h58 static unsigned getHashValue(const ValueKeyT &C) { in getHashValue() function
62 static unsigned getHashValue(PoolEntry *P) { in getHashValue() function
63 return getHashValue(P->getValue()); in getHashValue()
66 static unsigned getHashValue(const PoolEntry *P) { in getHashValue() function
67 return getHashValue(P->getValue()); in getHashValue()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenTBAA.h241 static unsigned getHashValue(const clang::CodeGen::TBAAAccessInfo &Val) {
243 return DenseMapInfo<unsigned>::getHashValue(KindValue) ^
244 DenseMapInfo<MDNode *>::getHashValue(Val.BaseType) ^
245 DenseMapInfo<MDNode *>::getHashValue(Val.AccessType) ^
246 DenseMapInfo<uint64_t>::getHashValue(Val.Offset) ^
247 DenseMapInfo<uint64_t>::getHashValue(Val.Size);
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DMemoryLocation.h280 static unsigned getHashValue(const LocationSize &Val) {
281 return DenseMapInfo<uint64_t>::getHashValue(Val.toRaw());
297 static unsigned getHashValue(const MemoryLocation &Val) {
298 return DenseMapInfo<const Value *>::getHashValue(Val.Ptr) ^
299 DenseMapInfo<LocationSize>::getHashValue(Val.Size) ^
300 DenseMapInfo<AAMDNodes>::getHashValue(Val.AATags);
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DTypeOrdering.h48 static unsigned getHashValue(clang::QualType Val) {
68 static unsigned getHashValue(clang::CanQualType Val) {
H A DBaseSubobject.h71 static unsigned getHashValue(const clang::BaseSubobject &Base) {
74 return DenseMapInfo<PairTy>::getHashValue(PairTy(Base.getBase(),
H A DGlobalDecl.h133 static unsigned getHashValue(clang::GlobalDecl GD) {
134 return DenseMapInfo<void*>::getHashValue(GD.getAsOpaquePtr());
H A DCharUnits.h230 static unsigned getHashValue(const clang::CharUnits &CU) {
232 return DenseMapInfo<clang::CharUnits::QuantityType>::getHashValue(Quantity);
/freebsd-12.1/contrib/llvm/include/llvm/Object/
H A DWasmTraits.h36 static unsigned getHashValue(const wasm::WasmSignature &Sig) {
58 static unsigned getHashValue(const wasm::WasmGlobalType &GlobalType) {
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DDominators.h106 static unsigned getHashValue(const BasicBlockEdge *V);
116 static unsigned getHashValue(const BasicBlockEdge &Edge) {
117 return hash_combine(BBInfo::getHashValue(Edge.getStart()),
118 BBInfo::getHashValue(Edge.getEnd()));
H A DValueHandle.h302 static unsigned getHashValue(const AssertingVH<T> &Val) {
303 return DenseMapInfo<Value *>::getHashValue(Val.getRawValPtr());
542 static unsigned getHashValue(const PoisoningVH<T> &Val) {
543 return DenseMapInfo<Value *>::getHashValue(Val.getRawValPtr());
H A DValueMap.h315 static unsigned getHashValue(const VH &Val) {
316 return DenseMapInfo<KeyT>::getHashValue(Val.Unwrap());
319 static unsigned getHashValue(const KeyT &Val) {
320 return DenseMapInfo<KeyT>::getHashValue(Val);
/freebsd-12.1/contrib/llvm/tools/lld/include/lld/Core/
H A DSymbolTable.h67 static unsigned getHashValue(StringRef const val) { in getHashValue() function
80 static unsigned getHashValue(const DefinedAtom * const Val);
/freebsd-12.1/contrib/llvm/include/llvm/Linker/
H A DIRMover.h38 static unsigned getHashValue(const KeyTy &Key);
39 static unsigned getHashValue(const StructType *ST);
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFAcceleratorTable.h337 static unsigned getHashValue(uint32_t Code) { in getHashValue() function
338 return DenseMapInfo<uint32_t>::getHashValue(Code); in getHashValue()
340 static unsigned getHashValue(const Abbrev &Abbr) { in getHashValue() function
341 return getHashValue(Abbr.Code); in getHashValue()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DSourceLocation.h57 unsigned getHashValue() const { return static_cast<unsigned>(ID); } in getHashValue() function
452 static unsigned getHashValue(clang::FileID S) {
453 return S.getHashValue();
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeHashing.h157 static unsigned getHashValue(codeview::LocallyHashedType Val) {
177 static unsigned getHashValue(codeview::GloballyHashedType Val) {
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DAliasAnalysisSummary.h254 static unsigned getHashValue(const cflaa::InstantiatedValue &IV) {
255 return DenseMapInfo<std::pair<Value *, unsigned>>::getHashValue(
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DLowLevelTypeImpl.h258 static inline unsigned getHashValue(const LLT &Ty) {
260 return DenseMapInfo<uint64_t>::getHashValue(Val);
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DGVNSink.cpp328 static unsigned getHashValue(const ModelledPHI &V) { return V.hash(); } in getHashValue() function
370 hash_code getHashValue() const override { in getHashValue() function in __anon99a2cd780111::InstructionUseExpr
371 return hash_combine(GVNExpression::BasicExpression::getHashValue(), in getHashValue()
375 template <typename Function> hash_code getHashValue(Function MapFn) { in getHashValue() function in __anon99a2cd780111::InstructionUseExpr
496 hash_code H = exp->getHashValue([=](Value *V) { return lookupOrAdd(V); }); in lookupOrAdd()

1234