Home
last modified time | relevance | path

Searched refs:dest_type (Results 1 – 19 of 19) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/
H A Dbrig-cmp-inst-handler.cc38 tree dest_type = gccbrig_tree_type_for_hsa_type (inst_base->type); in operator ()() local
135 else if (VECTOR_TYPE_P (dest_type) && ANY_INTEGRAL_TYPE_P (dest_type) in operator ()()
146 = build_vector_from_val (dest_type, in operator ()()
147 build_minus_one_cst (TREE_TYPE (dest_type))); in operator ()()
149 = build_vector_from_val (dest_type, in operator ()()
150 build_zero_cst (TREE_TYPE (dest_type))); in operator ()()
151 expr = build3 (VEC_COND_EXPR, dest_type, expr, all_ones, all_zeroes); in operator ()()
153 else if (INTEGRAL_TYPE_P (dest_type) && !is_boolean_dest) in operator ()()
158 tree signed_type = signed_type_for (dest_type); in operator ()()
161 size_t result_width = int_size_in_bytes (dest_type) * BITS_PER_UNIT; in operator ()()
[all …]
H A Dbrig-cvt-inst-handler.cc72 tree dest_type = gccbrig_tree_type_for_hsa_type (brig_inst->type); in generate() local
76 if (!dest_type || !src_type) in generate()
93 size_t conv_dst_size = int_size_in_bytes (dest_type); in generate()
189 else if (SCALAR_FLOAT_TYPE_P (dest_type)) in generate()
192 conversion_result = convert_to_real (dest_type, casted_input); in generate()
194 else if (INTEGRAL_TYPE_P (dest_type) && INTEGRAL_TYPE_P (src_type)) in generate()
196 conversion_result = extend_int (input, dest_type, src_type); in generate()
198 else if (INTEGRAL_TYPE_P (dest_type) && SCALAR_FLOAT_TYPE_P (src_type)) in generate()
226 = call_builtin (builtin, 1, dest_type, src_type, casted_input); in generate()
233 conversion_result = convert_to_integer (dest_type, casted_input); in generate()
[all …]
H A Dbrig-copy-move-inst-handler.cc31 tree dest_type = gccbrig_tree_type_for_hsa_type (brig_inst->type); in handle_lda() local
34 tree output = build_tree_operand_from_brig (brig_inst, dest_type, 0); in handle_lda()
52 tree dest_type = gccbrig_tree_type_for_hsa_type (brig_inst->type); in operator ()() local
55 tree output = build_tree_operand_from_brig (brig_inst, dest_type, 0); in operator ()()
H A Dbrig-code-entry-handler.cc783 tree dest_type; in build_or_analyze_operands() local
788 dest_type = gccbrig_tree_type_for_hsa_type (brig_inst.type); in build_or_analyze_operands()
797 dest_type = gccbrig_tree_type_for_hsa_type (brig_inst.type); in build_or_analyze_operands()
806 dest_type = gccbrig_tree_type_for_hsa_type (brig_inst.type); in build_or_analyze_operands()
811 dest_type = src_type; in build_or_analyze_operands()
822 dest_type = gccbrig_tree_type_for_hsa_type (brig_inst.type); in build_or_analyze_operands()
840 dest_type = src_type; in build_or_analyze_operands()
864 tree operand_type = is_output ? dest_type : src_type; in build_or_analyze_operands()
897 operand_type = get_unsigned_int_type (dest_type); in build_or_analyze_operands()
899 operand_type = get_unsigned_int_type (TREE_TYPE (dest_type)); in build_or_analyze_operands()
[all …]
H A Dbrig-to-generic.cc651 tree dest_type = get_scalar_unsigned_int_type (src_type); in build_reinterpret_to_uint() local
652 return build1 (VIEW_CONVERT_EXPR, dest_type, source); in build_reinterpret_to_uint()
H A Dbrig-code-entry-handler.h87 tree extend_int (tree input, tree dest_type, tree src_type);
/netbsd-src/games/atc/
H A Dinput.c217 static enum places dest_type; variable
307 dest_type = T_NODEST; in getcommand()
496 if (dest_type != T_NODEST) { in delayb()
497 switch (dest_type) { in delayb()
526 dest_type = T_BEACON; in beacon()
534 dest_type = T_EXIT; in ex_it()
542 dest_type = T_AIRPORT; in airport()
614 switch (dest_type) { in benum()
H A Dupdate.c140 switch (pp->dest_type) { in update()
174 if (pp->dest_type == T_AIRPORT) in update()
188 if (pp->dest_type == T_EXIT) in update()
272 (pp->dest_type == T_AIRPORT) ? 'A' : 'E', pp->dest_no); in command()
361 p.dest_type = T_EXIT; in addplane()
364 p.dest_type = T_AIRPORT; in addplane()
H A Dstruct.h90 enum places dest_type; member
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dgimple-ssa-store-merging.cc4374 tree dest_type; in output_merged_store() local
4379 dest_type in output_merged_store()
4384 dest_type = build_nonstandard_integer_type (try_size, UNSIGNED); in output_merged_store()
4385 dest_type = build_aligned_type (dest_type, try_align); in output_merged_store()
4387 dest = fold_build2 (MEM_REF, dest_type, addr, in output_merged_store()
4399 mask = native_interpret_expr (dest_type, in output_merged_store()
4415 TREE_TYPE (ops[j]) = dest_type; in output_merged_store()
4460 stmt = gimple_build_assign (make_ssa_name (dest_type), ops[j]); in output_merged_store()
4475 = invert_op (split_store, j, dest_type, xor_mask); in output_merged_store()
4478 stmt = gimple_build_assign (make_ssa_name (dest_type), in output_merged_store()
[all …]
H A Dvarasm.cc4876 tree dest_type = TREE_TYPE (value); in initializer_constant_valid_p_1() local
4882 if (AGGREGATE_TYPE_P (src_type) && !AGGREGATE_TYPE_P (dest_type)) in initializer_constant_valid_p_1()
4884 if (TYPE_MODE (endtype) == TYPE_MODE (dest_type)) in initializer_constant_valid_p_1()
4898 tree dest_type = TREE_TYPE (value); in initializer_constant_valid_p_1() local
4901 if ((POINTER_TYPE_P (dest_type) && POINTER_TYPE_P (src_type)) in initializer_constant_valid_p_1()
4902 || (TREE_CODE (dest_type) == OFFSET_TYPE in initializer_constant_valid_p_1()
4908 if (((INTEGRAL_TYPE_P (dest_type) && INTEGRAL_TYPE_P (src_type)) in initializer_constant_valid_p_1()
4909 || (FLOAT_TYPE_P (dest_type) && FLOAT_TYPE_P (src_type))) in initializer_constant_valid_p_1()
4910 && (TYPE_PRECISION (dest_type) == TYPE_PRECISION (src_type))) in initializer_constant_valid_p_1()
4917 if (INTEGRAL_TYPE_P (dest_type) in initializer_constant_valid_p_1()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dvarasm.c4615 tree dest_type = TREE_TYPE (value); in initializer_constant_valid_p_1() local
4621 if (AGGREGATE_TYPE_P (src_type) && !AGGREGATE_TYPE_P (dest_type)) in initializer_constant_valid_p_1()
4623 if (TYPE_MODE (endtype) == TYPE_MODE (dest_type)) in initializer_constant_valid_p_1()
4637 tree dest_type = TREE_TYPE (value); in initializer_constant_valid_p_1() local
4641 if ((POINTER_TYPE_P (dest_type) && POINTER_TYPE_P (src_type)) in initializer_constant_valid_p_1()
4642 || (FLOAT_TYPE_P (dest_type) && FLOAT_TYPE_P (src_type)) in initializer_constant_valid_p_1()
4643 || (TREE_CODE (dest_type) == OFFSET_TYPE in initializer_constant_valid_p_1()
4648 if (INTEGRAL_TYPE_P (dest_type) && INTEGRAL_TYPE_P (src_type) in initializer_constant_valid_p_1()
4649 && (TYPE_PRECISION (dest_type) == TYPE_PRECISION (src_type))) in initializer_constant_valid_p_1()
4656 if (INTEGRAL_TYPE_P (dest_type) in initializer_constant_valid_p_1()
[all …]
H A Dhsa-gen.c3022 BrigType16_t dest_type = hsa_type_integer_p (dest->m_type) in gen_hsa_cmp_insn_from_gimple() local
3025 hsa_insn_cmp *cmp = new hsa_insn_cmp (compare, dest_type); in gen_hsa_cmp_insn_from_gimple()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/
H A Dtrans-io.c536 tree dest_type = TREE_TYPE (p->field); in set_parameter_value() local
541 se.expr = convert (dest_type, se.expr); in set_parameter_value()
549 tmp = fold_build3_loc (input_location, COMPONENT_REF, dest_type, var, in set_parameter_value()
566 tree dest_type = TREE_TYPE (p->field); in set_parameter_value_chk() local
600 se.expr = convert (dest_type, se.expr); in set_parameter_value_chk()
608 tmp = fold_build3_loc (input_location, COMPONENT_REF, dest_type, var, in set_parameter_value_chk()
625 tree dest_type = TREE_TYPE (p->field); in set_parameter_value_inquire() local
672 se.expr = convert (dest_type, se.expr); in set_parameter_value_inquire()
/netbsd-src/external/gpl3/gcc/dist/gcc/fortran/
H A Dtrans-io.cc536 tree dest_type = TREE_TYPE (p->field); in set_parameter_value() local
541 se.expr = convert (dest_type, se.expr); in set_parameter_value()
549 tmp = fold_build3_loc (input_location, COMPONENT_REF, dest_type, var, in set_parameter_value()
566 tree dest_type = TREE_TYPE (p->field); in set_parameter_value_chk() local
600 se.expr = convert (dest_type, se.expr); in set_parameter_value_chk()
608 tmp = fold_build3_loc (input_location, COMPONENT_REF, dest_type, var, in set_parameter_value_chk()
625 tree dest_type = TREE_TYPE (p->field); in set_parameter_value_inquire() local
672 se.expr = convert (dest_type, se.expr); in set_parameter_value_inquire()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/nvptx/
H A Dnvptx.c5838 tree dest_type = var_type; in nvptx_generate_vector_shuffle() local
5858 if (var_type != dest_type) in nvptx_generate_vector_shuffle()
5871 expr = fold_build2 (COMPLEX_EXPR, dest_type, real, imag); in nvptx_generate_vector_shuffle()
5877 expr = fold_build1 (code, dest_type, expr); in nvptx_generate_vector_shuffle()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/nvptx/
H A Dnvptx.cc6589 tree dest_type = var_type; in nvptx_generate_vector_shuffle() local
6609 if (var_type != dest_type) in nvptx_generate_vector_shuffle()
6622 expr = fold_build2 (COMPLEX_EXPR, dest_type, real, imag); in nvptx_generate_vector_shuffle()
6628 expr = fold_build1 (code, dest_type, expr); in nvptx_generate_vector_shuffle()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dtypeck.c7236 tree dest_type, enum tree_code cast, in check_for_casting_away_constness() argument
7244 if (!casts_away_constness (src_type, dest_type, complain)) in check_for_casting_away_constness()
7253 src_type, dest_type); in check_for_casting_away_constness()
7260 src_type, dest_type); in check_for_casting_away_constness()
7267 src_type, dest_type); in check_for_casting_away_constness()
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dtypeck.cc7757 tree dest_type, enum tree_code cast, in check_for_casting_away_constness() argument
7765 if (!casts_away_constness (src_type, dest_type, complain)) in check_for_casting_away_constness()
7774 src_type, dest_type); in check_for_casting_away_constness()
7781 src_type, dest_type); in check_for_casting_away_constness()
7788 src_type, dest_type); in check_for_casting_away_constness()