MCPcopy Create free account
hub / github.com/apache/impala / StoreCache

Method StoreCache

be/src/codegen/llvm-codegen.cc:1234–1243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1232}
1233
1234Status LlvmCodeGen::StoreCache(CodeGenCacheKey& cache_key) {
1235 DCHECK(!cache_key.empty());
1236 Status store_status = ExecEnv::GetInstance()->codegen_cache()->Store(
1237 cache_key, this, state_->query_options().codegen_cache_mode,
1238 state_->query_options().codegen_opt_level);
1239 LOG(INFO) << DebugCacheEntryString(cache_key, false /*is_lookup*/,
1240 CodeGenCacheModeAnalyzer::is_debug(state_->query_options().codegen_cache_mode),
1241 store_status.ok());
1242 return store_status;
1243}
1244
1245void LlvmCodeGen::PruneModule() {
1246 SCOPED_TIMER(function_prune_timer_);

Callers 2

TestAtCapacityMethod · 0.80
TestSkipCacheMethod · 0.80

Calls 4

emptyMethod · 0.45
StoreMethod · 0.45
codegen_cacheMethod · 0.45
okMethod · 0.45

Tested by 2

TestAtCapacityMethod · 0.64
TestSkipCacheMethod · 0.64