/external/llvm/unittests/ADT/ |
D | HashingTest.cpp | 37 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/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | HashingTest.cpp | 37 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/ |
D | functional.h | 69 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()
|
D | functional.cc | 70 size_t hash_combine(size_t seed, size_t value) { in hash_combine() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | LLVMContextImpl.h | 129 return hash_combine(hash_combine_range(Key.ETypes.begin(), in getHashValue() 184 return hash_combine(Key.ReturnType, in getHashValue() 297 return hash_combine(Line, Column, Scope, InlinedAt); 316 unsigned getHashValue() const { return hash_combine(getHash(), Tag, Header); } 348 return hash_combine(cast<ConstantInt>(MD->getValue())->getSExtValue(), 350 return hash_combine(CountNode, LowerBound); 370 unsigned getHashValue() const { return hash_combine(Value, Name); } 396 return hash_combine(Tag, Name, SizeInBits, AlignInBits, Encoding); 450 return hash_combine(Name, Scope); 456 return hash_combine(Tag, Name, File, Line, Scope, BaseType, Flags); [all …]
|
/external/llvm/lib/IR/ |
D | LLVMContextImpl.h | 106 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 …]
|
/external/clang/lib/Frontend/ |
D | TestModuleFileExtension.cpp | 89 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()
|
D | CompilerInvocation.cpp | 2405 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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | MachineOperand.cpp | 331 return hash_combine(MO.getType(), MO.getReg(), MO.getSubReg(), MO.isDef()); in hash_value() 333 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getImm()); in hash_value() 335 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getCImm()); in hash_value() 337 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getFPImm()); in hash_value() 339 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getMBB()); in hash_value() 341 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex()); in hash_value() 344 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex(), in hash_value() 347 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex()); in hash_value() 349 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getOffset(), in hash_value() 352 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getGlobal(), in hash_value() [all …]
|
/external/grpc-grpc/src/cpp/server/load_reporter/ |
D | load_data_store.h | 101 void hash_combine(size_t* seed, const grpc::string& k) const { in hash_combine() function 108 hash_combine(&h, k.lb_id_); in operator() 109 hash_combine(&h, k.lb_tag_); in operator() 110 hash_combine(&h, k.user_id_); in operator() 111 hash_combine(&h, k.client_ip_hex_); in operator()
|
/external/llvm/lib/Target/X86/ |
D | X86OptimizeLEAs.cpp | 123 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/ |
D | WasmTraits.h | 35 H = hash_combine(H, Param); 53 return hash_combine(GlobalType.Type, GlobalType.Mutable);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86OptimizeLEAs.cpp | 138 hash_code Hash = hash_combine(*Val.Operands[0], *Val.Operands[1], in getHashValue() 150 Hash = hash_combine(Hash, Val.Disp->getIndex()); in getHashValue() 153 Hash = hash_combine(Hash, Val.Disp->getSymbolName()); in getHashValue() 156 Hash = hash_combine(Hash, Val.Disp->getGlobal()); in getHashValue() 159 Hash = hash_combine(Hash, Val.Disp->getBlockAddress()); in getHashValue() 162 Hash = hash_combine(Hash, Val.Disp->getMCSymbol()); in getHashValue() 165 Hash = hash_combine(Hash, Val.Disp->getMBB()); in getHashValue()
|
/external/v8/src/compiler/ |
D | js-operator.cc | 55 return base::hash_combine(p.arity(), p.frequency(), p.feedback()); in hash_value() 103 return base::hash_combine(p.id(), p.arity()); in hash_value() 139 return base::hash_combine(access.depth(), access.index(), access.immutable()); in hash_value() 174 return base::hash_combine(parameters.scope_info().location(), in hash_value() 202 return base::hash_combine(p.name().location(), p.feedback()); in hash_value() 223 return base::hash_combine(p.feedback()); in hash_value() 251 return base::hash_combine(p.name().location(), p.language_mode(), in hash_value() 292 return base::hash_combine(p.language_mode(), p.feedback()); in hash_value() 311 return base::hash_combine(p.name().location(), p.typeof_mode()); in hash_value() 341 return base::hash_combine(p.language_mode(), p.name().location(), in hash_value() [all …]
|
D | simplified-operator.cc | 47 return base::hash_combine(access.base_is_tagged, access.offset, in hash_value() 112 return base::hash_combine(access.base_is_tagged, access.header_size, in hash_value() 183 return base::hash_combine(params.mode(), params.feedback()); in hash_value() 267 return base::hash_combine(p.flags(), p.maps(), p.feedback()); in hash_value() 323 return base::hash_combine(params.mode(), params.feedback()); in hash_value() 348 return base::hash_combine(static_cast<uint8_t>(transition.mode()), in hash_value() 397 return base::hash_combine(parameters.fast_map().address(), in hash_value() 437 return base::hash_combine(parameters.fast_map().address(), in hash_value() 472 return base::hash_combine(parameters.double_map().address()); in hash_value() 556 return base::hash_combine(p.hint(), p.feedback()); in hash_value() [all …]
|
D | common-operator.cc | 94 return base::hash_combine(p.kind(), p.reason(), p.feedback(), in hash_value() 151 return base::hash_combine(p.representation(), p.hint()); in hash_value() 220 return base::hash_combine(p.object_id(), p.size()); in hash_value() 228 return base::hash_combine(p.object_id(), p.machine_types()); in hash_value() 243 return base::hash_combine(p.value(), int8_t{p.rmode()}, p.type()); in hash_value() 344 return base::hash_combine(p.machine_types(), p.sparse_input_mask()); in hash_value() 420 return base::hash_combine(p.value(), p.comparison_order()); in hash_value()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/ |
D | GVNExpression.h | 224 return hash_combine(this->Expression::getHashValue(), ValueType, in getHashValue() 282 return hash_combine(this->BasicExpression::getHashValue(), MemoryLeader); in getHashValue() 465 return hash_combine(this->BasicExpression::getHashValue(), in getHashValue() 526 return hash_combine(this->BasicExpression::getHashValue(), BB); in getHashValue() 572 return hash_combine(this->Expression::getHashValue(), in getHashValue() 609 return hash_combine(this->Expression::getHashValue(), in getHashValue() 645 return hash_combine(this->Expression::getHashValue(), Inst); in getHashValue()
|
/external/llvm/lib/Transforms/Scalar/ |
D | EarlyCSE.cpp | 101 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/v8/src/ |
D | signature.h | 104 size_t hash = base::hash_combine(sig.parameter_count(), sig.return_count()); in hash_value() 105 for (const T& t : sig.all()) hash = base::hash_combine(hash, t); in hash_value()
|
D | vector-slot-pair.cc | 35 return base::hash_combine(p.slot(), p.vector().location()); in hash_value()
|
D | version.h | 29 base::hash_combine(major_, minor_, build_, patch_)); in Hash()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | EarlyCSE.cpp | 136 return hash_combine(BinOp->getOpcode(), LHS, RHS); in getHashValue() 147 return hash_combine(Inst->getOpcode(), Pred, LHS, RHS); in getHashValue() 161 return hash_combine(Inst->getOpcode(), SPF, A, B); in getHashValue() 165 return hash_combine(Inst->getOpcode(), SPF, A, B); in getHashValue() 169 return hash_combine(CI->getOpcode(), CI->getType(), CI->getOperand(0)); in getHashValue() 172 return hash_combine(EVI->getOpcode(), EVI->getOperand(0), in getHashValue() 176 return hash_combine(IVI->getOpcode(), IVI->getOperand(0), in getHashValue() 187 return hash_combine( in getHashValue() 302 return hash_combine( in getHashValue()
|
/external/llvm/lib/CodeGen/ |
D | MachineInstr.cpp | 268 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/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/ |
D | DeclContext.cpp | 172 unsigned Hash = hash_combine(Context.getQualifiedNameHash(), Tag, NameRef); in getChildDeclContext() 177 Hash = hash_combine(Hash, FileRef); in getChildDeclContext()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/PBQP/ |
D | Math.h | 104 return hash_combine(V.Length, hash_combine_range(VBegin, VEnd)); in hash_value() 242 return hash_combine(M.Rows, M.Cols, hash_combine_range(MBegin, MEnd)); in hash_value()
|