/external/tensorflow/tensorflow/core/common_runtime/eager/ |
D | attr_builder_test.cc | 72 TEST(AttrTypeMap, CacheKey) { in TEST() argument 76 tensorflow::Fprint128 cache_key = a.CacheKey("cpu:0"); in TEST() 78 ASSERT_FALSE(cache_key == a.CacheKey("cpu:1")); in TEST() 79 ASSERT_TRUE(cache_key == a.CacheKey("cpu:0")); in TEST() 82 ASSERT_FALSE(cache_key == a.CacheKey("cpu:0")); in TEST()
|
D | attr_builder.h | 104 tensorflow::Fprint128 CacheKey(const string& device);
|
D | attr_builder.cc | 235 tensorflow::Fprint128 AttrBuilder::CacheKey(const string& device) { in CacheKey() function in tensorflow::AttrBuilder
|
D | execute.cc | 378 op->MutableAttrs()->CacheKey(maybe_unspecified_device_name); in EagerLocalExecute()
|
/external/icu/icu4c/source/common/ |
D | unifiedcache.h | 102 class CacheKey : public CacheKeyBase { 104 virtual ~CacheKey() { } in ~CacheKey() 136 class LocaleCacheKey : public CacheKey<T> { 142 : CacheKey<T>(other), fLoc(other.fLoc) { } in LocaleCacheKey() 145 return (int32_t)(37u * (uint32_t)CacheKey<T>::hashCode() + (uint32_t)fLoc.hashCode()); in hashCode() 152 if (!CacheKey<T>::operator == (other)) { 203 const CacheKey<T>& key, in get() 225 const CacheKey<T>& key, in get()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | compilation_cache.h | 51 using CacheKey = int64; variable 53 absl::flat_hash_map<CacheKey, std::shared_ptr<Executable>> cache_
|
D | compilation_cache.cc | 44 CacheKey key = GetUniqueId(); in Insert() 58 CacheKey key = handle.handle(); in LookUp()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | MemoryDependenceAnalysis.cpp | 790 ValueIsLoadPair CacheKey(Loc.Ptr, isLoad); in GetNonLocalInfoForBlock() local 791 RemoveFromReverseMap(ReverseNonLocalPtrDeps, ScanPos, CacheKey); in GetNonLocalInfoForBlock() 816 ValueIsLoadPair CacheKey(Loc.Ptr, isLoad); in GetNonLocalInfoForBlock() local 817 ReverseNonLocalPtrDeps[Inst].insert(CacheKey); in GetNonLocalInfoForBlock() 878 ValueIsLoadPair CacheKey(Pointer.getAddr(), isLoad); in getNonLocalPointerDepFromBB() local 891 NonLocalPointerDeps.insert(std::make_pair(CacheKey, InitialNLPI)); in getNonLocalPointerDepFromBB() 905 RemoveFromReverseMap(ReverseNonLocalPtrDeps, Inst, CacheKey); in getNonLocalPointerDepFromBB() 926 RemoveFromReverseMap(ReverseNonLocalPtrDeps, Inst, CacheKey); in getNonLocalPointerDepFromBB() 1146 NonLocalPointerInfo &NLPI = NonLocalPointerDeps[CacheKey]; in getNonLocalPointerDepFromBB() 1153 CacheInfo = &NonLocalPointerDeps[CacheKey]; in getNonLocalPointerDepFromBB() [all …]
|
/external/llvm/lib/Analysis/ |
D | MemoryDependenceAnalysis.cpp | 963 ValueIsLoadPair CacheKey(Loc.Ptr, isLoad); in GetNonLocalInfoForBlock() local 964 RemoveFromReverseMap(ReverseNonLocalPtrDeps, &*ScanPos, CacheKey); in GetNonLocalInfoForBlock() 990 ValueIsLoadPair CacheKey(Loc.Ptr, isLoad); in GetNonLocalInfoForBlock() local 991 ReverseNonLocalPtrDeps[Inst].insert(CacheKey); in GetNonLocalInfoForBlock() 1051 ValueIsLoadPair CacheKey(Pointer.getAddr(), isLoad); in getNonLocalPointerDepFromBB() local 1064 NonLocalPointerDeps.insert(std::make_pair(CacheKey, InitialNLPI)); in getNonLocalPointerDepFromBB() 1077 RemoveFromReverseMap(ReverseNonLocalPtrDeps, Inst, CacheKey); in getNonLocalPointerDepFromBB() 1096 RemoveFromReverseMap(ReverseNonLocalPtrDeps, Inst, CacheKey); in getNonLocalPointerDepFromBB() 1349 NonLocalPointerInfo &NLPI = NonLocalPointerDeps[CacheKey]; in getNonLocalPointerDepFromBB() 1356 CacheInfo = &NonLocalPointerDeps[CacheKey]; in getNonLocalPointerDepFromBB() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | MemoryDependenceAnalysis.cpp | 1009 ValueIsLoadPair CacheKey(Loc.Ptr, isLoad); in GetNonLocalInfoForBlock() local 1010 RemoveFromReverseMap(ReverseNonLocalPtrDeps, &*ScanPos, CacheKey); in GetNonLocalInfoForBlock() 1036 ValueIsLoadPair CacheKey(Loc.Ptr, isLoad); in GetNonLocalInfoForBlock() local 1037 ReverseNonLocalPtrDeps[Inst].insert(CacheKey); in GetNonLocalInfoForBlock() 1097 ValueIsLoadPair CacheKey(Pointer.getAddr(), isLoad); in getNonLocalPointerDepFromBB() local 1110 NonLocalPointerDeps.insert(std::make_pair(CacheKey, InitialNLPI)); in getNonLocalPointerDepFromBB() 1123 RemoveFromReverseMap(ReverseNonLocalPtrDeps, Inst, CacheKey); in getNonLocalPointerDepFromBB() 1142 RemoveFromReverseMap(ReverseNonLocalPtrDeps, Inst, CacheKey); in getNonLocalPointerDepFromBB() 1395 NonLocalPointerInfo &NLPI = NonLocalPointerDeps[CacheKey]; in getNonLocalPointerDepFromBB() 1402 CacheInfo = &NonLocalPointerDeps[CacheKey]; in getNonLocalPointerDepFromBB() [all …]
|
/external/clang/lib/Format/ |
D | UnwrappedLineFormatter.cpp | 803 std::pair<const SmallVectorImpl<AnnotatedLine *> *, unsigned> CacheKey( in format() local 805 auto CacheIt = PenaltyCache.find(CacheKey); in format() 902 PenaltyCache[CacheKey] = Penalty; in format()
|
/external/tensorflow/tensorflow/python/eager/ |
D | function.py | 64 CacheKey = collections.namedtuple("CacheKey", [ variable 68 CacheKey.replace = CacheKey._replace # pylint: disable=protected-access 1462 return CacheKey(input_signature, parent_graph, device_functions,
|
/external/tensorflow/tensorflow/lite/delegates/flex/ |
D | kernel.cc | 262 op_->MutableAttrs()->CacheKey(device == nullptr ? "unspecified" in BuildEagerOp()
|
/external/v8/src/wasm/ |
D | module-compiler.cc | 205 using CacheKey = std::pair<bool, FunctionSig>; typedef in v8::internal::wasm::__anonc090e3370111::JSToWasmWrapperCache 206 std::unordered_map<CacheKey, Handle<Code>, base::hash<CacheKey>> cache_;
|