Home
last modified time | relevance | path

Searched refs:cache_ (Results 1 - 9 of 9) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/evaluate/
H A DproxyProgramsCache.cpp21 ProxyProgramsCache::ProxyProgramsCache(ArenaAllocator *allocator) : cache_(allocator->Adapter()) {} in ProxyProgramsCache()
25 auto iter = cache_.find(fileName); in GetProgram()
26 return (iter == cache_.end()) ? nullptr : iter->second; in GetProgram()
34 ASSERT(cache_.find(filePath) == cache_.end()); in AddProgram()
36 cache_.emplace(filePath, program); in AddProgram()
H A DproxyProgramsCache.h43 ArenaUnorderedMap<util::StringView, parser::Program *> cache_; member in ark::es2panda::ark::es2panda::evaluate::final
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ets_proxy/
H A Dwrappers_cache.h36 auto it = cache_.find(key); in Lookup()
37 if (UNLIKELY(it == cache_.end())) { in Lookup()
45 auto [it, inserted] = cache_.insert_or_assign(key, std::move(wrapper)); in Insert()
52 auto nh = cache_.extract(key); in Steal()
57 std::unordered_map<Key, std::unique_ptr<Wrapper>> cache_; member in ark::ets::interop::js::ets_proxy::WrappersCache
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Dcondition_chain_cache.cpp21 ConditionChainCache::ConditionChainCache(ArenaAllocator *allocator) : cache_(allocator->Adapter()) {} in ConditionChainCache()
25 cache_.insert({chain, phiInst}); in Insert()
58 for (auto &[c, phi] : cache_) { in FindPhi()
68 cache_.clear(); in Clear()
H A Dcondition_chain_cache.h33 ArenaMap<ConditionChain *, Inst *> cache_; member in ark::compiler::ConditionChainCache
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dshare_gate_meta_data.cpp216 : cache_(), chunk_(chunk) {} in GateMetaBuilder()
221 return &cache_.cached##NAME##_; \
249 return &cache_.cached##NAME##1_; \
251 return &cache_.cached##NAME##2_; \
253 return &cache_.cached##NAME##3_; \
255 return &cache_.cached##NAME##4_; \
257 return &cache_.cached##NAME##5_; \
273 return &cache_.cached##NAME##1_; \
275 return &cache_.cached##NAME##2_; \
277 return &cache_
[all...]
H A Dgate_meta_data_builder.h174 const GateMetaDataChache cache_; member in panda::ecmascript::kungfu::GateMetaBuilder
/arkcompiler/runtime_core/static_core/libpandafile/tests/
H A Dpanda_cache_test.cpp111 explicit CacheOps(PandaCache *cache) : cache_(cache) {} in CacheOps()
138 PandaCache *cache_; member in ark::panda_file::test::CacheOps
150 Method *f = cache_->GetMethodFromCache(id);
160 cache_->SetMethodCache(id, f);
174 Field *f = cache_->GetFieldFromCache(newId);
187 cache_->SetFieldCache(newId, f);
198 Class *cl = cache_->GetClassFromCache(id);
208 cache_->SetClassCache(id, cl);
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
H A Djs_refconvert.h98 auto [it, inserted] = cache_.insert_or_assign(klass, std::move(value)); in Insert()
113 auto it = cache_.find(klass); in LookupFull()
114 if (UNLIKELY(it == cache_.end())) { in LookupFull()
136 std::unordered_map<Class *, std::unique_ptr<JSRefConvert>> cache_; member in ark::ets::interop::js::JSRefConvertCache

Completed in 4 milliseconds