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

Method Make

cpp/src/gandiva/llvm_generator.cc:47–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 enable_ir_traces_(false) {}
46
47Result<std::unique_ptr<LLVMGenerator>> LLVMGenerator::Make(
48 const std::shared_ptr<Configuration>& config, bool cached,
49 std::optional<std::reference_wrapper<GandivaObjectCache>> object_cache) {
50 std::unique_ptr<LLVMGenerator> llvm_generator(
51 new LLVMGenerator(cached, config->function_registry()));
52
53 ARROW_ASSIGN_OR_RAISE(llvm_generator->engine_,
54 Engine::Make(config, cached, object_cache));
55 return llvm_generator;
56}
57
58std::shared_ptr<Cache<ExpressionCacheKey, std::shared_ptr<llvm::MemoryBuffer>>>
59LLVMGenerator::GetCache() {

Callers

nothing calls this directly

Calls 2

MakeFunction · 0.70
ARROW_ASSIGN_OR_RAISEFunction · 0.50

Tested by

no test coverage detected