Home
last modified time | relevance | path

Searched refs:CacheKey (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/eager/
Dattr_builder_test.cc72 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()
Dattr_builder.h104 tensorflow::Fprint128 CacheKey(const string& device);
Dattr_builder.cc235 tensorflow::Fprint128 AttrBuilder::CacheKey(const string& device) { in CacheKey() function in tensorflow::AttrBuilder
Dexecute.cc378 op->MutableAttrs()->CacheKey(maybe_unspecified_device_name); in EagerLocalExecute()
/external/icu/icu4c/source/common/
Dunifiedcache.h102 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/
Dcompilation_cache.h51 using CacheKey = int64; variable
53 absl::flat_hash_map<CacheKey, std::shared_ptr<Executable>> cache_
Dcompilation_cache.cc44 CacheKey key = GetUniqueId(); in Insert()
58 CacheKey key = handle.handle(); in LookUp()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DMemoryDependenceAnalysis.cpp790 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/
DMemoryDependenceAnalysis.cpp963 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/
DMemoryDependenceAnalysis.cpp1009 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/
DUnwrappedLineFormatter.cpp803 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/
Dfunction.py64 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/
Dkernel.cc262 op_->MutableAttrs()->CacheKey(device == nullptr ? "unspecified" in BuildEagerOp()
/external/v8/src/wasm/
Dmodule-compiler.cc205 using CacheKey = std::pair<bool, FunctionSig>; typedef in v8::internal::wasm::__anonc090e3370111::JSToWasmWrapperCache
206 std::unordered_map<CacheKey, Handle<Code>, base::hash<CacheKey>> cache_;