Home
last modified time | relevance | path

Searched refs:hash_combine (Results 1 – 25 of 38) sorted by relevance

12

/external/llvm/unittests/ADT/
DHashingTest.cpp37 return hash_combine(obj.x, obj.y); in hash_value()
81 EXPECT_EQ(hash_combine(42, 43), hash_value(std::make_pair(42, 43))); in TEST()
82 EXPECT_NE(hash_combine(43, 42), hash_value(std::make_pair(42, 43))); in TEST()
83 EXPECT_NE(hash_combine(42, 43), hash_value(std::make_pair(42ull, 43ull))); in TEST()
84 EXPECT_NE(hash_combine(42, 43), hash_value(std::make_pair(42, 43ull))); in TEST()
85 EXPECT_NE(hash_combine(42, 43), hash_value(std::make_pair(42ull, 43))); in TEST()
89 EXPECT_EQ(hash_combine(42, 43, 44), in TEST()
96 EXPECT_EQ(hash_combine('0', hash_combine(1ull, '2')), in TEST()
101 EXPECT_EQ(hash_combine(obj1, hash_combine(obj2, obj3)), in TEST()
338 EXPECT_EQ(hash_combine_range(arr1, arr1 + 1), hash_combine(i1)); in TEST()
[all …]
/external/v8/src/base/
Dfunctional.h69 V8_INLINE size_t hash_combine() { return 0u; } in hash_combine() function
70 V8_INLINE size_t hash_combine(size_t seed) { return seed; } in hash_combine() function
71 V8_BASE_EXPORT size_t hash_combine(size_t seed, size_t value);
73 V8_INLINE size_t hash_combine(T const& v, Ts const&... vs) { in hash_combine() function
74 return hash_combine(hash_combine(vs...), hash<T>()(v)); in hash_combine()
82 seed = hash_combine(seed, *first); in hash_range()
137 return hash_combine(v.first, v.second); in hash_value()
Dfunctional.cc71 size_t hash_combine(size_t seed, size_t value) { in hash_combine() function
/external/llvm/lib/IR/
DLLVMContextImpl.h106 return hash_combine(hash_combine_range(Key.ETypes.begin(), in getHashValue()
153 return hash_combine(Key.ReturnType, in getHashValue()
263 return hash_combine(Line, Column, Scope, InlinedAt);
281 unsigned getHashValue() const { return hash_combine(getHash(), Tag, Header); }
300 unsigned getHashValue() const { return hash_combine(Count, LowerBound); }
314 unsigned getHashValue() const { return hash_combine(Value, Name); }
339 return hash_combine(Tag, Name, SizeInBits, AlignInBits, Encoding);
386 return hash_combine(Name, Scope);
392 return hash_combine(Tag, Name, File, Line, Scope, BaseType, Flags);
480 return hash_combine(Name, File, Line, BaseType, Scope, Elements,
[all …]
DConstantsContext.h428 return hash_combine(AsmString, Constraints, HasSideEffects, IsAlignStack,
497 return hash_combine(Opcode, SubclassOptionalData, SubclassData,
567 return hash_combine(Val.first, Val.second.getHash());
/external/clang/lib/Frontend/
DTestModuleFileExtension.cpp89 Code = llvm::hash_combine(Code, BlockName); in hashExtension()
90 Code = llvm::hash_combine(Code, MajorVersion); in hashExtension()
91 Code = llvm::hash_combine(Code, MinorVersion); in hashExtension()
92 Code = llvm::hash_combine(Code, UserInfo); in hashExtension()
DCompilerInvocation.cpp2405 using llvm::hash_combine; in getModuleHash()
2414 code = hash_combine(code, LangOpts->Name); in getModuleHash()
2416 code = hash_combine(code, static_cast<unsigned>(LangOpts->get##Name())); in getModuleHash()
2422 code = hash_combine(code, Feature); in getModuleHash()
2425 code = hash_combine(code, TargetOpts->Triple, TargetOpts->CPU, in getModuleHash()
2428 code = hash_combine(code, TargetOpts->FeaturesAsWritten[i]); in getModuleHash()
2433 code = hash_combine(code, ppOpts.UsePredefines, ppOpts.DetailedRecord); in getModuleHash()
2448 code = hash_combine(code, I->first, I->second); in getModuleHash()
2452 code = hash_combine(code, hsOpts.Sysroot, in getModuleHash()
2459 code = hash_combine(code, hsOpts.ResourceDir); in getModuleHash()
[all …]
/external/v8/src/compiler/
Djs-operator.cc39 return base::hash_combine(p.slot(), p.vector().location()); in hash_value()
69 return base::hash_combine(p.arity(), p.frequency(), p.feedback()); in hash_value()
110 return base::hash_combine(p.id(), p.arity()); in hash_value()
146 return base::hash_combine(access.depth(), access.index(), access.immutable()); in hash_value()
178 return base::hash_combine(parameters.catch_name().location(), in hash_value()
207 return base::hash_combine(p.name().location(), p.language_mode(), in hash_value()
248 return base::hash_combine(p.language_mode(), p.feedback()); in hash_value()
267 return base::hash_combine(p.name().location(), p.typeof_mode()); in hash_value()
297 return base::hash_combine(p.language_mode(), p.name().location(), in hash_value()
333 return base::hash_combine(p.arity(), p.site().location()); in hash_value()
[all …]
Dframe-states.cc15 return base::hash_combine(sc.kind_, sc.parameter_); in hash_value()
45 return base::hash_combine(static_cast<int>(info.type()), info.bailout_id(), in hash_value()
Dvalue-numbering-reducer.cc20 size_t h = base::hash_combine(node->op()->HashCode(), node->InputCount()); in HashCode()
22 h = base::hash_combine(h, node->InputAt(j)->id()); in HashCode()
Doperator.h191 return base::hash_combine(this->opcode(), this->hash_(this->parameter())); in HashCode()
Dcommon-operator.cc66 return base::hash_combine(p.kind(), p.reason()); in hash_value()
91 return base::hash_combine(p.representation(), p.hint()); in hash_value()
166 return base::hash_combine(p.value(), p.rmode(), p.type()); in hash_value()
Dsimplified-operator.cc108 return base::hash_combine(access.base_is_tagged, access.offset, in hash_value()
156 return base::hash_combine(access.base_is_tagged, access.header_size, in hash_value()
Djs-operator.h119 return base::hash_combine(p.bit_field_, p.frequency_, p.feedback_); in hash_value()
/external/llvm/lib/Target/X86/
DX86OptimizeLEAs.cpp123 hash_code Hash = hash_combine(*Val.Operands[0], *Val.Operands[1], in getHashValue()
135 Hash = hash_combine(Hash, Val.Disp->getIndex()); in getHashValue()
138 Hash = hash_combine(Hash, Val.Disp->getSymbolName()); in getHashValue()
141 Hash = hash_combine(Hash, Val.Disp->getGlobal()); in getHashValue()
144 Hash = hash_combine(Hash, Val.Disp->getBlockAddress()); in getHashValue()
147 Hash = hash_combine(Hash, Val.Disp->getMCSymbol()); in getHashValue()
150 Hash = hash_combine(Hash, Val.Disp->getMBB()); in getHashValue()
/external/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp101 return hash_combine(BinOp->getOpcode(), LHS, RHS); in getHashValue()
112 return hash_combine(Inst->getOpcode(), Pred, LHS, RHS); in getHashValue()
116 return hash_combine(CI->getOpcode(), CI->getType(), CI->getOperand(0)); in getHashValue()
119 return hash_combine(EVI->getOpcode(), EVI->getOperand(0), in getHashValue()
123 return hash_combine(IVI->getOpcode(), IVI->getOperand(0), in getHashValue()
134 return hash_combine( in getHashValue()
224 return hash_combine( in getHashValue()
/external/llvm/lib/CodeGen/
DMachineInstr.cpp268 return hash_combine(MO.getType(), MO.getReg(), MO.getSubReg(), MO.isDef()); in hash_value()
270 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getImm()); in hash_value()
272 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getCImm()); in hash_value()
274 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getFPImm()); in hash_value()
276 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getMBB()); in hash_value()
278 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex()); in hash_value()
281 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex(), in hash_value()
284 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex()); in hash_value()
286 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getOffset(), in hash_value()
289 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getGlobal(), in hash_value()
[all …]
/external/v8/src/
Dversion.h24 base::hash_combine(major_, minor_, build_, patch_)); in Hash()
/external/clang/include/clang/AST/
DASTTypeTraits.h343 return llvm::hash_combine(TL.getType().getAsOpaquePtr(),
350 return llvm::hash_combine(NNSL.getNestedNameSpecifier(),
/external/llvm/include/llvm/CodeGen/PBQP/
DMath.h145 return hash_combine(V.Length, hash_combine_range(VBegin, VEnd)); in hash_value()
383 return hash_combine(M.Rows, M.Cols, hash_combine_range(MBegin, MEnd)); in hash_value()
/external/llvm/include/llvm/IR/
DDominators.h69 return hash_combine(BBInfo::getHashValue(Edge.getStart()),
/external/llvm/include/llvm/ADT/
DHashing.h602 template <typename ...Ts> hash_code hash_combine(const Ts &...args) {
649 return hash_combine(arg.first, arg.second);
/external/llvm/include/llvm/CodeGen/
DRegAllocPBQP.h134 return hash_combine(OptRegs.NumOpts, in hash_value()
/external/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h617 hash_combine(V.Kind, V.LHS.getKind(), V.LHS.getCounterID(),
/external/llvm/lib/Support/Unix/
DProcess.inc453 return hash_combine(Now.seconds(), Now.nanoseconds(), ::getpid());

12