OmniSciDB
a5dc49c757
|
Helpers for codegen of target expressions. More...
#include "TargetExprBuilder.h"
#include "CodeGenerator.h"
#include "Execute.h"
#include "GroupByAndAggregate.h"
#include "Logger/Logger.h"
#include "MaxwellCodegenPatch.h"
#include "OutputBufferInitialization.h"
Go to the source code of this file.
Namespaces | |
anonymous_namespace{TargetExprBuilder.cpp} | |
Macros | |
#define | LL_CONTEXT executor->cgen_state_->context_ |
#define | LL_BUILDER executor->cgen_state_->ir_builder_ |
#define | LL_BOOL(v) executor->ll_bool(v) |
#define | LL_INT(v) executor->cgen_state_->llInt(v) |
#define | LL_FP(v) executor->cgen_state_->llFp(v) |
#define | ROW_FUNC executor->cgen_state_->row_func_ |
Functions | |
bool | anonymous_namespace{TargetExprBuilder.cpp}::is_varlen_projection (const Analyzer::Expr *target_expr, const SQLTypeInfo &ti) |
std::vector< std::string > | anonymous_namespace{TargetExprBuilder.cpp}::agg_fn_base_names (const TargetInfo &target_info, const bool is_varlen_projection) |
bool | anonymous_namespace{TargetExprBuilder.cpp}::is_columnar_projection (const QueryMemoryDescriptor &query_mem_desc) |
bool | anonymous_namespace{TargetExprBuilder.cpp}::is_simple_count (const TargetInfo &target_info) |
bool | anonymous_namespace{TargetExprBuilder.cpp}::target_has_geo (const TargetInfo &target_info) |
int64_t | anonymous_namespace{TargetExprBuilder.cpp}::get_initial_agg_val (const TargetInfo &target_info, const QueryMemoryDescriptor &query_mem_desc) |
std::ostream & | operator<< (std::ostream &os, const TargetExprCodegen &target_expr_codegen) |
Helpers for codegen of target expressions.
Definition in file TargetExprBuilder.cpp.
#define LL_BOOL | ( | v | ) | executor->ll_bool(v) |
Definition at line 34 of file TargetExprBuilder.cpp.
#define LL_BUILDER executor->cgen_state_->ir_builder_ |
Definition at line 33 of file TargetExprBuilder.cpp.
Referenced by TargetExprCodegen::codegen(), TargetExprCodegen::codegenAggregate(), and TargetExprCodegenBuilder::codegenSlotEmptyKey().
#define LL_CONTEXT executor->cgen_state_->context_ |
Definition at line 32 of file TargetExprBuilder.cpp.
Referenced by TargetExprCodegen::codegen(), TargetExprCodegen::codegenAggregate(), and TargetExprCodegenBuilder::codegenSlotEmptyKey().
#define LL_FP | ( | v | ) | executor->cgen_state_->llFp(v) |
Definition at line 36 of file TargetExprBuilder.cpp.
#define LL_INT | ( | v | ) | executor->cgen_state_->llInt(v) |
Definition at line 35 of file TargetExprBuilder.cpp.
Referenced by TargetExprCodegen::codegen(), TargetExprCodegen::codegenAggregate(), and TargetExprCodegenBuilder::codegenSlotEmptyKey().
#define ROW_FUNC executor->cgen_state_->row_func_ |
Definition at line 37 of file TargetExprBuilder.cpp.
Referenced by TargetExprCodegen::codegenAggregate().
std::ostream& operator<< | ( | std::ostream & | os, |
const TargetExprCodegen & | target_expr_codegen | ||
) |
Definition at line 993 of file TargetExprBuilder.cpp.
References TargetExprCodegen::base_slot_index, TargetExprCodegen::is_group_by, TargetExprCodegen::target_expr, TargetExprCodegen::target_idx, TargetExprCodegen::target_info, TargetInfo::toString(), and Analyzer::Expr::toString().