OmniSciDB
a5dc49c757
|
#include <PointAccessors.h>
Public Member Functions | |
PointAccessors (const Analyzer::GeoOperator *geo_operator) | |
size_t | size () const final |
SQLTypeInfo | getNullType () const final |
llvm::Value * | codegenCmpEqNullptr (llvm::IRBuilder<> &builder, llvm::Value *arg_lv) |
std::tuple< std::vector < llvm::Value * >, llvm::Value * > | codegenLoads (const std::vector< llvm::Value * > &arg_lvs, const std::vector< llvm::Value * > &pos_lvs, CgenState *cgen_state) final |
std::vector< llvm::Value * > | codegen (const std::vector< llvm::Value * > &args, CodeGenerator::NullCheckCodegen *nullcheck_codegen, CgenState *cgen_state, const CompilationOptions &co) final |
Public Member Functions inherited from spatial_type::Codegen | |
Codegen (const Analyzer::GeoOperator *geo_operator) | |
auto | isNullable () const |
auto | getTypeInfo () const |
std::string | getName () const |
virtual std::unique_ptr < CodeGenerator::NullCheckCodegen > | getNullCheckCodegen (llvm::Value *null_lv, CgenState *cgen_state, Executor *executor) |
virtual const Analyzer::Expr * | getOperand (const size_t index) |
virtual | ~Codegen () |
Additional Inherited Members | |
Static Public Member Functions inherited from spatial_type::Codegen | |
static std::unique_ptr< Codegen > | init (const Analyzer::GeoOperator *geo_operator) |
static char const * | pointIsNullFunctionName (SQLTypeInfo const &) |
Protected Attributes inherited from spatial_type::Codegen | |
const Analyzer::GeoOperator * | operator_ |
bool | is_nullable_ {true} |
Definition at line 24 of file PointAccessors.h.
|
inline |
Definition at line 26 of file PointAccessors.h.
References CHECK_EQ, spatial_type::Codegen::operator_, and Analyzer::GeoOperator::size().
|
inlinefinalvirtual |
Implements spatial_type::Codegen.
Definition at line 89 of file PointAccessors.h.
References run_benchmark_import::args, CHECK, CHECK_EQ, Analyzer::Expr::get_type_info(), Analyzer::GeoOperator::getName(), spatial_type::Codegen::getOperand(), kENCODING_GEOINT, and spatial_type::Codegen::operator_.
|
inline |
Definition at line 34 of file PointAccessors.h.
References CHECK.
Referenced by codegenLoads().
|
inlinefinalvirtual |
Implements spatial_type::Codegen.
Definition at line 41 of file PointAccessors.h.
References ArrayLoadCodegen::buffer, CHECK, CHECK_EQ, codegenCmpEqNullptr(), CodeGenerator::codegenGeoArrayLoadAndNullcheck(), spatial_type::Codegen::getOperand(), is_null(), spatial_type::Codegen::is_nullable_, kPOINT, spatial_type::Codegen::operator_, spatial_type::Codegen::pointIsNullFunctionName(), size(), and Analyzer::GeoOperator::toString().
|
inlinefinalvirtual |
Implements spatial_type::Codegen.
Definition at line 32 of file PointAccessors.h.
References kBOOLEAN.
|
inlinefinalvirtual |
Implements spatial_type::Codegen.
Definition at line 30 of file PointAccessors.h.
Referenced by codegenLoads().