OmniSciDB
a5dc49c757
|
Functions | |
llvm::CmpInst::Predicate | llvm_icmp_pred (const SQLOps op_type) |
std::string | icmp_name (const SQLOps op_type) |
std::string | icmp_arr_name (const SQLOps op_type) |
llvm::CmpInst::Predicate | llvm_fcmp_pred (const SQLOps op_type) |
std::string | string_cmp_func (const SQLOps optype) |
std::shared_ptr < Analyzer::BinOper > | lower_bw_eq (const Analyzer::BinOper *bw_eq) |
std::shared_ptr < Analyzer::BinOper > | make_eq (const std::shared_ptr< Analyzer::Expr > &lhs, const std::shared_ptr< Analyzer::Expr > &rhs, const SQLOps optype) |
std::shared_ptr < Analyzer::BinOper > | lower_multicol_compare (const Analyzer::BinOper *multicol_compare) |
void | check_array_comp_cond (const Analyzer::BinOper *bin_oper) |
void | unpack_none_encoded_string (CgenState *cgen_state, std::vector< llvm::Value * > &lvs) |
void | unpack_dict_encoded_string (CgenState *cgen_state, Executor *executor, SQLTypeInfo const ti, llvm::StructType *string_view_struct_type, std::vector< llvm::Value * > &lvs) |
void anonymous_namespace{CompareIR.cpp}::check_array_comp_cond | ( | const Analyzer::BinOper * | bin_oper | ) |
Definition at line 182 of file CompareIR.cpp.
References Analyzer::BinOper::get_left_operand(), Analyzer::BinOper::get_optype(), Analyzer::BinOper::get_right_operand(), IS_COMPARISON, IS_EQUIVALENCE, kARRAY_AT, kNE, and kTEXT.
Referenced by CodeGenerator::codegenCmp().
std::string anonymous_namespace{CompareIR.cpp}::icmp_arr_name | ( | const SQLOps | op_type | ) |
Definition at line 64 of file CompareIR.cpp.
References kEQ, kGE, kGT, kLE, kLT, and kNE.
Referenced by CodeGenerator::codegenQualifierCmp().
std::string anonymous_namespace{CompareIR.cpp}::icmp_name | ( | const SQLOps | op_type | ) |
Definition at line 45 of file CompareIR.cpp.
References kEQ, kGE, kGT, kLE, kLT, and kNE.
Referenced by CodeGenerator::codegenCmp().
llvm::CmpInst::Predicate anonymous_namespace{CompareIR.cpp}::llvm_fcmp_pred | ( | const SQLOps | op_type | ) |
Definition at line 83 of file CompareIR.cpp.
References kEQ, kGE, kGT, kLE, kLT, and kNE.
Referenced by CodeGenerator::codegenCmp().
llvm::CmpInst::Predicate anonymous_namespace{CompareIR.cpp}::llvm_icmp_pred | ( | const SQLOps | op_type | ) |
Definition at line 26 of file CompareIR.cpp.
References kEQ, kGE, kGT, kLE, kLT, and kNE.
Referenced by CodeGenerator::codegenCmp().
std::shared_ptr<Analyzer::BinOper> anonymous_namespace{CompareIR.cpp}::lower_bw_eq | ( | const Analyzer::BinOper * | bw_eq | ) |
Definition at line 125 of file CompareIR.cpp.
References CHECK, Analyzer::Expr::get_contains_agg(), Analyzer::BinOper::get_own_left_operand(), Analyzer::BinOper::get_own_right_operand(), Analyzer::BinOper::get_qualifier(), Analyzer::Expr::get_type_info(), kAND, kBOOLEAN, kEQ, kISNULL, kONE, kOR, and Parser::OperExpr::normalize().
Referenced by CodeGenerator::codegenCmp(), and make_eq().
std::shared_ptr<Analyzer::BinOper> anonymous_namespace{CompareIR.cpp}::lower_multicol_compare | ( | const Analyzer::BinOper * | multicol_compare | ) |
Definition at line 159 of file CompareIR.cpp.
References CHECK, CHECK_EQ, CHECK_GT, Analyzer::BinOper::get_left_operand(), Analyzer::BinOper::get_optype(), Analyzer::BinOper::get_right_operand(), kAND, kBOOLEAN, kONE, and make_eq().
Referenced by CodeGenerator::codegenCmp().
std::shared_ptr<Analyzer::BinOper> anonymous_namespace{CompareIR.cpp}::make_eq | ( | const std::shared_ptr< Analyzer::Expr > & | lhs, |
const std::shared_ptr< Analyzer::Expr > & | rhs, | ||
const SQLOps | optype | ||
) |
Definition at line 145 of file CompareIR.cpp.
References CHECK, IS_EQUIVALENCE, kBW_EQ, kONE, lower_bw_eq(), and Parser::OperExpr::normalize().
Referenced by lower_multicol_compare().
std::string anonymous_namespace{CompareIR.cpp}::string_cmp_func | ( | const SQLOps | optype | ) |
Definition at line 106 of file CompareIR.cpp.
References kEQ, kGE, kGT, kLE, kLT, and kNE.
Referenced by CodeGenerator::codegenCmp().
void anonymous_namespace{CompareIR.cpp}::unpack_dict_encoded_string | ( | CgenState * | cgen_state, |
Executor * | executor, | ||
SQLTypeInfo const | ti, | ||
llvm::StructType * | string_view_struct_type, | ||
std::vector< llvm::Value * > & | lvs | ||
) |
Definition at line 466 of file CompareIR.cpp.
References CgenState::context_, CgenState::emitExternalCall(), SQLTypeInfo::getStringDictKey(), CgenState::ir_builder_, and CgenState::llInt().
Referenced by CodeGenerator::codegenCmp().
void anonymous_namespace{CompareIR.cpp}::unpack_none_encoded_string | ( | CgenState * | cgen_state, |
std::vector< llvm::Value * > & | lvs | ||
) |
Definition at line 456 of file CompareIR.cpp.
References CHECK_EQ, CgenState::context_, and CgenState::ir_builder_.
Referenced by CodeGenerator::codegenCmp().