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

Method GenerateFunctionNamesHashCode

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

Source from the content-addressed store, hash-verified

1225}
1226
1227void LlvmCodeGen::GenerateFunctionNamesHashCode() {
1228 string function_names = GetAllFunctionNames();
1229 // Use the same hash seed as the codegen cache key.
1230 function_names_hashcode_ = HashUtil::MurmurHash2_64(function_names.c_str(),
1231 function_names.length(), CodeGenCacheKeyConstructor::CODEGEN_CACHE_HASH_SEED_CONST);
1232}
1233
1234Status LlvmCodeGen::StoreCache(CodeGenCacheKey& cache_key) {
1235 DCHECK(!cache_key.empty());

Callers 2

TestAtCapacityMethod · 0.80
TestSkipCacheMethod · 0.80

Calls 1

lengthMethod · 0.45

Tested by 2

TestAtCapacityMethod · 0.64
TestSkipCacheMethod · 0.64