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

Method FinalizeFunction

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

Source from the content-addressed store, hash-verified

1121}
1122
1123llvm::Function* LlvmCodeGen::FinalizeFunction(llvm::Function* function) {
1124 SetCPUAttrs(function);
1125 if (!VerifyFunction(function)) return NULL;
1126 finalized_functions_.insert(function);
1127 if (FLAGS_dump_ir) {
1128 string fn_name = function->getName();
1129 LOG(INFO) << "Dump of Function "<< fn_name << ": " << LlvmCodeGen::Print(function);
1130 }
1131 return function;
1132}
1133
1134Status LlvmCodeGen::MaterializeModule() {
1135 llvm::Error err = module_->materializeAll();

Callers 15

TEST_FFunction · 0.80
CodegenComputeFnMethod · 0.80
GetFunctionMethod · 0.80

Calls 2

getNameMethod · 0.65
insertMethod · 0.45

Tested by 7

TEST_FFunction · 0.64
AddLlvmCodegenEchoMethod · 0.64
GetLlvmEmptyFunctionMethod · 0.64
AddLlvmCodegenDoubleMethod · 0.64
CodegenInnerLoopFunction · 0.64
CodegenStringTestFunction · 0.64
TEST_FFunction · 0.64