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

Method GetIR

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

Source from the content-addressed store, hash-verified

558}
559
560string LlvmCodeGen::GetIR(bool full_module) const {
561 string str;
562 llvm::raw_string_ostream stream(str);
563 if (full_module) {
564 module_->print(stream, NULL);
565 } else {
566 for (int i = 0; i < handcrafted_functions_.size(); ++i) {
567 handcrafted_functions_[i]->print(stream, nullptr, false, true);
568 }
569 }
570 return str;
571}
572
573llvm::Type* LlvmCodeGen::GetSlotType(const ColumnType& type) {
574 switch (type.type) {

Callers

nothing calls this directly

Calls 2

printMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected