OmniSciDB
a5dc49c757
|
#include <PointN.h>
Public Member Functions | |
PointN (const Analyzer::GeoOperator *geo_operator) | |
std::unique_ptr < CodeGenerator::NullCheckCodegen > | getNullCheckCodegen (llvm::Value *null_lv, CgenState *cgen_state, Executor *executor) final |
size_t | size () const final |
SQLTypeInfo | getNullType () const final |
llvm::Value * | codegenGeoSize (CgenState *cgen_state, SQLTypeInfo const &geo_ti, const std::vector< llvm::Value * > &arg_lvs, const std::vector< llvm::Value * > &pos_lvs) |
llvm::Value * | codegenIndexOutOfBoundCheck (CgenState *cgen_state, llvm::Value *index_lv, llvm::Value *geosize_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 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} |
|
inline |
Definition at line 25 of file PointN.h.
References CHECK_EQ, spatial_type::Codegen::is_nullable_, spatial_type::Codegen::operator_, and Analyzer::GeoOperator::size().
|
inlinefinalvirtual |
Implements spatial_type::Codegen.
Definition at line 155 of file PointN.h.
References run_benchmark_import::args, CHECK, CHECK_EQ, and kENCODING_GEOINT.
|
inline |
Definition at line 54 of file PointN.h.
References CHECK, CgenState::context_, CgenState::emitExternalCall(), get_int_type(), SQLTypeInfo::get_notnull(), CgenState::llInt(), and log2_bytes().
Referenced by codegenLoads().
|
inline |
Definition at line 82 of file PointN.h.
References CgenState::ir_builder_, CgenState::llBool(), and CgenState::llInt().
Referenced by codegenLoads().
|
inlinefinalvirtual |
Implements spatial_type::Codegen.
Definition at line 101 of file PointN.h.
References CHECK, CHECK_EQ, codegenGeoSize(), codegenIndexOutOfBoundCheck(), spatial_type::Codegen::getOperand(), kLINESTRING, and size().
|
inlinefinalvirtual |
Reimplemented from spatial_type::Codegen.
Definition at line 34 of file PointN.h.
References CHECK, spatial_type::Codegen::getName(), getNullType(), and spatial_type::Codegen::isNullable().
|
inlinefinalvirtual |
Implements spatial_type::Codegen.
Definition at line 49 of file PointN.h.
References kBOOLEAN.
Referenced by getNullCheckCodegen().
|
inlinefinalvirtual |
Implements spatial_type::Codegen.
Definition at line 47 of file PointN.h.
Referenced by codegenLoads().