GDB (xrefs)
|
#include "expop.h"
Go to the source code of this file.
Namespaces | |
namespace | expr |
Functions | |
struct value * | ada_unop_neg (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, struct value *arg1) |
struct value * | ada_atr_tag (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, struct value *arg1) |
struct value * | ada_atr_size (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, struct value *arg1) |
struct value * | ada_abs (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, struct value *arg1) |
struct value * | ada_unop_in_range (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, struct value *arg1, struct type *type) |
struct value * | ada_mult_binop (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, struct value *arg1, struct value *arg2) |
struct value * | ada_equal_binop (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, struct value *arg1, struct value *arg2) |
struct value * | ada_ternop_slice (struct expression *exp, enum noside noside, struct value *array, struct value *low_bound_val, struct value *high_bound_val) |
struct value * | ada_binop_in_bounds (struct expression *exp, enum noside noside, struct value *arg1, struct value *arg2, int n) |
struct value * | ada_binop_minmax (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, struct value *arg1, struct value *arg2) |
struct value * | ada_pos_atr (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, struct value *arg) |
struct value * | ada_val_atr (enum noside noside, struct type *type, struct value *arg) |
struct value * | ada_binop_exp (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, struct value *arg1, struct value *arg2) |
struct value * ada_abs | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside | noside, | ||
enum exp_opcode | op, | ||
struct value * | arg1 | ||
) |
Definition at line 10212 of file ada-lang.c.
References expression::gdbarch, expression::language_defn, not_lval, unop_promote(), value_less(), value_neg(), value_type(), and value_zero().
struct value * ada_atr_size | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside | noside, | ||
enum exp_opcode | op, | ||
struct value * | arg1 | ||
) |
Definition at line 10189 of file ada-lang.c.
References builtin_type::builtin_int, type::code(), EVAL_AVOID_SIDE_EFFECTS, expression::gdbarch, type::length(), not_lval, type::target_type(), value_from_longest(), value_type(), and value_zero().
struct value * ada_atr_tag | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside | noside, | ||
enum exp_opcode | op, | ||
struct value * | arg1 | ||
) |
Definition at line 10175 of file ada-lang.c.
References ada_tag_type(), ada_value_tag(), EVAL_AVOID_SIDE_EFFECTS, not_lval, and value_zero().
struct value * ada_binop_exp | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside | noside, | ||
enum exp_opcode | op, | ||
struct value * | arg1, | ||
struct value * | arg2 | ||
) |
Definition at line 10524 of file ada-lang.c.
References binop_promote(), EVAL_AVOID_SIDE_EFFECTS, expression::gdbarch, is_integral_type(), expression::language_defn, not_lval, unop_promote(), value_binop(), value_type(), and value_zero().
struct value * ada_binop_in_bounds | ( | struct expression * | exp, |
enum noside | noside, | ||
struct value * | arg1, | ||
struct value * | arg2, | ||
int | n | ||
) |
Definition at line 10350 of file ada-lang.c.
References ada_array_bound(), ada_index_type(), binop_promote(), EVAL_AVOID_SIDE_EFFECTS, expression::gdbarch, language_bool_type(), expression::language_defn, not_lval, value_equal(), value_from_longest(), value_less(), value_type(), and value_zero().
Referenced by expr::ada_binop_in_bounds_operation::evaluate().
struct value * ada_binop_minmax | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside | noside, | ||
enum exp_opcode | op, | ||
struct value * | arg1, | ||
struct value * | arg2 | ||
) |
Definition at line 10507 of file ada-lang.c.
References binop_promote(), EVAL_AVOID_SIDE_EFFECTS, expression::gdbarch, expression::language_defn, not_lval, value_binop(), value_type(), and value_zero().
struct value * ada_equal_binop | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside | noside, | ||
enum exp_opcode | op, | ||
struct value * | arg1, | ||
struct value * | arg2 | ||
) |
Definition at line 10247 of file ada-lang.c.
References ada_value_equal(), binop_promote(), EVAL_AVOID_SIDE_EFFECTS, expression::gdbarch, language_bool_type(), expression::language_defn, and value_from_longest().
Referenced by expr::ada_binop_equal_operation::evaluate().
struct value * ada_mult_binop | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside | noside, | ||
enum exp_opcode | op, | ||
struct value * | arg1, | ||
struct value * | arg2 | ||
) |
Definition at line 10227 of file ada-lang.c.
References ada_value_binop(), binop_promote(), EVAL_AVOID_SIDE_EFFECTS, expression::gdbarch, expression::language_defn, not_lval, value_type(), and value_zero().
struct value * ada_pos_atr | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside | noside, | ||
enum exp_opcode | op, | ||
struct value * | arg | ||
) |
Definition at line 8932 of file ada-lang.c.
References builtin_type::builtin_int, EVAL_AVOID_SIDE_EFFECTS, expression::gdbarch, not_lval, pos_atr(), value_from_longest(), and value_zero().
struct value * ada_ternop_slice | ( | struct expression * | exp, |
enum noside | noside, | ||
struct value * | array, | ||
struct value * | low_bound_val, | ||
struct value * | high_bound_val | ||
) |
Definition at line 10269 of file ada-lang.c.
References ada_aligned_type(), ada_check_typedef(), ada_coerce_to_simple_array_ptr(), ada_is_aligner_type(), ada_is_any_packed_array_type(), ada_is_array_descriptor_type(), ada_is_simple_array_type(), ada_type_of_array(), ada_value_slice(), ada_value_slice_from_ptr(), code, coerce_ref(), empty_array(), EVAL_AVOID_SIDE_EFFECTS, longest_to_int(), lval_memory, type::set_target_type(), type::target_type(), to_fixed_array_type(), value_addr(), value_as_long(), value_ind(), VALUE_LVAL, and value_type().
Referenced by expr::ada_ternop_slice_operation::evaluate().
struct value * ada_unop_in_range | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside | noside, | ||
enum exp_opcode | op, | ||
struct value * | arg1, | ||
struct type * | type | ||
) |
Definition at line 10141 of file ada-lang.c.
References binop_promote(), type::bounds(), type::code(), dynamic_prop::const_val(), expression::gdbarch, range_bounds::high, language_bool_type(), expression::language_defn, lim_warning(), range_bounds::low, value_equal(), value_from_longest(), and value_less().
Referenced by expr::ada_unop_range_operation::evaluate().
struct value * ada_unop_neg | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside | noside, | ||
enum exp_opcode | op, | ||
struct value * | arg1 | ||
) |
Definition at line 10129 of file ada-lang.c.
References expression::gdbarch, expression::language_defn, unop_promote(), and value_neg().
Definition at line 8961 of file ada-lang.c.
References discrete_type_p(), EVAL_AVOID_SIDE_EFFECTS, integer_type_p(), not_lval, val_atr(), value_as_long(), value_type(), and value_zero().
Referenced by expr::ada_atr_val_operation::evaluate().