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

Method Make

cpp/src/gandiva/llvm_generator.cc:46–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

MakeFunction · 0.70
ARROW_ASSIGN_OR_RAISEFunction · 0.50

Tested by

no test coverage detected