OmniSciDB
a5dc49c757
|
Functions | |
bool | contains_unsafe_division (const Analyzer::Expr *expr) |
bool | should_defer_eval (const std::shared_ptr< Analyzer::Expr > expr) |
Likelihood | get_likelihood (const Analyzer::Expr *expr) |
Weight | get_weight (const Analyzer::Expr *expr, int depth=0) |
bool | is_qualified_bin_oper (const Analyzer::Expr *expr) |
bool anonymous_namespace{LogicalIR.cpp}::contains_unsafe_division | ( | const Analyzer::Expr * | expr | ) |
Definition at line 26 of file LogicalIR.cpp.
References decimal_to_int_type(), Analyzer::Expr::find_expr(), Analyzer::Constant::get_constval(), Analyzer::BinOper::get_right_operand(), kBIGINT, kBOOLEAN, kDIVIDE, kDOUBLE, kFLOAT, kINT, kSMALLINT, kTINYINT, and run_benchmark_import::type.
Referenced by CodeGenerator::codegenLogicalShortCircuit(), CodeGenerator::prioritizeQuals(), and should_defer_eval().
Likelihood anonymous_namespace{LogicalIR.cpp}::get_likelihood | ( | const Analyzer::Expr * | expr | ) |
Definition at line 79 of file LogicalIR.cpp.
References Analyzer::BinOper::get_left_operand(), NullableValue< T >::isInvalid(), kAND, kNOT, and kOR.
Referenced by CodeGenerator::codegenLogicalShortCircuit(), and CodeGenerator::prioritizeQuals().
Weight anonymous_namespace{LogicalIR.cpp}::get_weight | ( | const Analyzer::Expr * | expr, |
int | depth = 0 |
||
) |
Definition at line 119 of file LogicalIR.cpp.
References Analyzer::BinOper::get_left_operand().
Referenced by CodeGenerator::codegenLogicalShortCircuit().
bool anonymous_namespace{LogicalIR.cpp}::is_qualified_bin_oper | ( | const Analyzer::Expr * | expr | ) |
Definition at line 356 of file LogicalIR.cpp.
References Analyzer::BinOper::get_qualifier(), and kONE.
Referenced by CodeGenerator::codegenLogical().
bool anonymous_namespace{LogicalIR.cpp}::should_defer_eval | ( | const std::shared_ptr< Analyzer::Expr > | expr | ) |
Definition at line 55 of file LogicalIR.cpp.
References contains_unsafe_division(), Analyzer::BinOper::get_right_operand(), Analyzer::Expr::get_type_info(), and SQLTypeInfo::is_array().
Referenced by CodeGenerator::prioritizeQuals().