GDB (xrefs)
|
Go to the source code of this file.
Namespaces | |
namespace | expr |
Typedefs | |
using | expr::opencl_cast_type_operation = cxx_cast_operation< UNOP_CAST_TYPE, opencl_value_cast > |
using | expr::opencl_assign_operation = opencl_binop_operation< BINOP_ASSIGN, eval_opencl_assign, assign_operation > |
using | expr::opencl_equal_operation = opencl_binop_operation< BINOP_EQUAL, opencl_relop > |
using | expr::opencl_notequal_operation = opencl_binop_operation< BINOP_NOTEQUAL, opencl_relop > |
using | expr::opencl_less_operation = opencl_binop_operation< BINOP_LESS, opencl_relop > |
using | expr::opencl_gtr_operation = opencl_binop_operation< BINOP_GTR, opencl_relop > |
using | expr::opencl_geq_operation = opencl_binop_operation< BINOP_GEQ, opencl_relop > |
using | expr::opencl_leq_operation = opencl_binop_operation< BINOP_LEQ, opencl_relop > |
using | expr::opencl_not_operation = unop_operation< UNOP_LOGICAL_NOT, opencl_logical_not > |
Functions | |
struct value * | eval_op_objc_selector (struct type *expect_type, struct expression *exp, enum noside noside, const char *sel) |
struct value * | opencl_value_cast (struct type *type, struct value *arg) |
struct value * | eval_opencl_assign (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, struct value *arg1, struct value *arg2) |
struct value * | opencl_relop (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, struct value *arg1, struct value *arg2) |
struct value * | opencl_logical_not (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, struct value *arg) |
struct value * eval_op_objc_selector | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside | noside, | ||
const char * | sel | ||
) |
Definition at line 1187 of file eval.c.
References builtin_type::builtin_data_ptr, expression::gdbarch, lookup_child_selector(), and value_from_longest().
Referenced by expr::objc_selector_operation::evaluate().
struct value * eval_opencl_assign | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside | noside, | ||
enum exp_opcode | op, | ||
struct value * | arg1, | ||
struct value * | arg2 | ||
) |
Definition at line 682 of file opencl-lang.c.
References deprecated_value_modifiable(), EVAL_AVOID_SIDE_EFFECTS, lval_internalvar, opencl_value_cast(), value_assign(), VALUE_LVAL, and value_type().
struct value * opencl_logical_not | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside | noside, | ||
enum exp_opcode | op, | ||
struct value * | arg | ||
) |
Definition at line 445 of file opencl-lang.c.
References allocate_value(), check_typedef(), type::code(), expression::gdbarch, get_array_bounds(), type::is_vector(), language_bool_type(), expression::language_defn, type::length(), lookup_opencl_vector_type(), type::target_type(), value_contents_writeable(), value_from_longest(), value_logical_not(), value_subscript(), and value_type().
struct value * opencl_relop | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside | noside, | ||
enum exp_opcode | op, | ||
struct value * | arg1, | ||
struct value * | arg2 | ||
) |
Definition at line 639 of file opencl-lang.c.
References check_typedef(), type::code(), expression::gdbarch, is_integral_type(), type::is_vector(), language_bool_type(), expression::language_defn, opencl_value_cast(), scalar_relop(), value_from_longest(), value_type(), and vector_relop().
Referenced by expr::opencl_logical_binop_operation::evaluate().
Definition at line 590 of file opencl-lang.c.
References check_typedef(), type::code(), coerce_ref(), type::is_vector(), type::target_type(), value_cast(), value_type(), and value_vector_widen().
Referenced by eval_opencl_assign(), expr::opencl_ternop_cond_operation::evaluate(), and opencl_relop().