MCPcopy Create free account
hub / github.com/apache/arrow / LoadExternalPreCompiledIR

Method LoadExternalPreCompiledIR

cpp/src/gandiva/engine.cc:436–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

434}
435
436Status Engine::LoadExternalPreCompiledIR() {
437 const auto& buffers = function_registry_->GetBitcodeBuffers();
438 for (const auto& buffer : buffers) {
439 auto llvm_memory_buffer_ref = AsLLVMMemoryBuffer(*buffer);
440 auto module_or_error = llvm::parseBitcodeFile(llvm_memory_buffer_ref, *context());
441 ARROW_RETURN_NOT_OK(VerifyAndLinkModule(*module_, std::move(module_or_error)));
442 }
443
444 return Status::OK();
445}
446
447// Get rid of all functions that don't need to be compiled.
448// This helps in reducing the overall compilation time. This pass is trivial,

Callers

nothing calls this directly

Calls 4

AsLLVMMemoryBufferFunction · 0.85
VerifyAndLinkModuleFunction · 0.85
contextFunction · 0.70
OKFunction · 0.50

Tested by

no test coverage detected