Home
last modified time | relevance | path

Searched refs:SUBREG_REG (Results 1 – 25 of 75) sorted by relevance

123

/freebsd-11-stable/contrib/gcc/
HDreload.c344 > GET_MODE_SIZE (GET_MODE (SUBREG_REG (x))))) in push_secondary_reload()
346 x = SUBREG_REG (x); in push_secondary_reload()
791 inner = SUBREG_REG (x); in reload_inner_reg_of_subreg()
997 && !CANNOT_CHANGE_MODE_CLASS (GET_MODE (SUBREG_REG (in)), inmode, class) in push_reload()
999 && (CONSTANT_P (SUBREG_REG (in)) in push_reload()
1000 || GET_CODE (SUBREG_REG (in)) == PLUS in push_reload()
1002 || (((REG_P (SUBREG_REG (in)) in push_reload()
1003 && REGNO (SUBREG_REG (in)) >= FIRST_PSEUDO_REGISTER) in push_reload()
1004 || MEM_P (SUBREG_REG (in))) in push_reload()
1006 > GET_MODE_SIZE (GET_MODE (SUBREG_REG (in)))) in push_reload()
[all …]
HDcombine.c511 && GET_CODE (SUBREG_REG (oldval)) == CONST_INT)); in do_SUBST()
1083 > GET_MODE_SIZE (GET_MODE (SUBREG_REG (SET_DEST (set))))) in set_nonzero_bits_and_sign_copies()
1084 && SUBREG_REG (SET_DEST (set)) == x)) in set_nonzero_bits_and_sign_copies()
1536 >= GET_MODE_SIZE (GET_MODE (SUBREG_REG (subdest))))) in combinable_i3pat()
1537 subdest = SUBREG_REG (subdest); in combinable_i3pat()
1626 src = SUBREG_REG (src); in cant_combine_insn_p()
1628 dest = SUBREG_REG (dest); in cant_combine_insn_p()
1786 && SUBREG_REG (x) == reg in reg_subword_p()
2512 && find_reg_note (i3, REG_UNUSED, SUBREG_REG (SET_DEST (set1))))) in try_combine()
2525 SUBREG_REG (SET_DEST (set0))))) in try_combine()
[all …]
HDrtlanal.c668 && REG_P (SUBREG_REG (SET_DEST (body))) in reg_referenced_p()
669 && (((GET_MODE_SIZE (GET_MODE (SUBREG_REG (SET_DEST (body)))) in reg_referenced_p()
1019 src = SUBREG_REG (src); in set_noop_p()
1020 dst = SUBREG_REG (dst); in set_noop_p()
1167 if (REG_P (SUBREG_REG (x)) in refers_to_regno_p()
1168 && REGNO (SUBREG_REG (x)) < FIRST_PSEUDO_REGISTER) in refers_to_regno_p()
1186 && loc != &SUBREG_REG (SET_DEST (x)) in refers_to_regno_p()
1187 && REG_P (SUBREG_REG (SET_DEST (x))) in refers_to_regno_p()
1188 && REGNO (SUBREG_REG (SET_DEST (x))) >= FIRST_PSEUDO_REGISTER in refers_to_regno_p()
1190 SUBREG_REG (SET_DEST (x)), loc)) in refers_to_regno_p()
[all …]
HDcaller-save.c507 rtx inner = SUBREG_REG (reg); in mark_set_regs()
538 if (GET_CODE (reg) == SUBREG && REG_P (SUBREG_REG (reg))) in add_stored_regs()
540 offset = subreg_regno_offset (REGNO (SUBREG_REG (reg)), in add_stored_regs()
541 GET_MODE (SUBREG_REG (reg)), in add_stored_regs()
544 reg = SUBREG_REG (reg); in add_stored_regs()
573 || (code == SUBREG && REG_P (SUBREG_REG (x)) in mark_referenced_regs()
574 && REGNO (SUBREG_REG (x)) < FIRST_PSEUDO_REGISTER in mark_referenced_regs()
579 >= GET_MODE_SIZE (GET_MODE (SUBREG_REG (x)))) in mark_referenced_regs()
580 || (GET_MODE_SIZE (GET_MODE (SUBREG_REG (x))) in mark_referenced_regs()
HDcse.c832 && REG_P (SUBREG_REG (x)) in notreg_cost()
834 && GET_MODE_CLASS (GET_MODE (SUBREG_REG (x))) == MODE_INT in notreg_cost()
836 < GET_MODE_SIZE (GET_MODE (SUBREG_REG (x)))) in notreg_cost()
839 GET_MODE_BITSIZE (GET_MODE (SUBREG_REG (x))))) in notreg_cost()
1141 if (code == SUBREG && REG_P (SUBREG_REG (x)) in mention_regs()
1142 && REGNO (SUBREG_REG (x)) >= FIRST_PSEUDO_REGISTER) in mention_regs()
1144 unsigned int i = REGNO (SUBREG_REG (x)); in mention_regs()
1154 || SUBREG_TICKED (i) != REGNO (SUBREG_REG (x))) in mention_regs()
1161 SUBREG_TICKED (i) = REGNO (SUBREG_REG (x)); in mention_regs()
1291 else if (GET_CODE (x) == SUBREG && REG_P (SUBREG_REG (x)) in insert_regs()
[all …]
HDjump.c1805 if ((code == REG || (code == SUBREG && REG_P (SUBREG_REG (x)))) in rtx_renumbered_equal_p()
1807 && REG_P (SUBREG_REG (y))))) in rtx_renumbered_equal_p()
1822 reg_x = REGNO (SUBREG_REG (x)); in rtx_renumbered_equal_p()
1828 GET_MODE (SUBREG_REG (x)), in rtx_renumbered_equal_p()
1843 reg_y = REGNO (SUBREG_REG (y)); in rtx_renumbered_equal_p()
1849 GET_MODE (SUBREG_REG (y)), in rtx_renumbered_equal_p()
1991 int base = true_regnum (SUBREG_REG (x)); in true_regnum()
1994 && subreg_offset_representable_p (REGNO (SUBREG_REG (x)), in true_regnum()
1995 GET_MODE (SUBREG_REG (x)), in true_regnum()
1997 return base + subreg_regno_offset (REGNO (SUBREG_REG (x)), in true_regnum()
[all …]
HDglobal.c1511 reg = SUBREG_REG (reg); in mark_reg_store()
1568 reg = SUBREG_REG (reg); in mark_reg_conflicts()
1675 else if (GET_CODE (src) == SUBREG && REG_P (SUBREG_REG (src))) in set_preference()
1677 src_regno = REGNO (SUBREG_REG (src)); in set_preference()
1679 if (REGNO (SUBREG_REG (src)) < FIRST_PSEUDO_REGISTER) in set_preference()
1680 offset += subreg_regno_offset (REGNO (SUBREG_REG (src)), in set_preference()
1681 GET_MODE (SUBREG_REG (src)), in set_preference()
1693 else if (GET_CODE (dest) == SUBREG && REG_P (SUBREG_REG (dest))) in set_preference()
1695 dest_regno = REGNO (SUBREG_REG (dest)); in set_preference()
1697 if (REGNO (SUBREG_REG (dest)) < FIRST_PSEUDO_REGISTER) in set_preference()
[all …]
HDsee.c689 else if (REG_P (SUBREG_REG (lhs))) in see_get_extension_reg()
690 reg1 = SUBREG_REG (lhs); in see_get_extension_reg()
700 else if (REG_P (SUBREG_REG (rhs))) in see_get_extension_reg()
701 reg2 = SUBREG_REG (rhs); in see_get_extension_reg()
738 if (!REG_P (lhs) && !SUBREG_REG (lhs)) in see_get_extension_data()
746 && REG_P (SUBREG_REG (XEXP (rhs, 0))))) in see_get_extension_data()
1423 && REG_P (SUBREG_REG (SET_DEST (sub))))) in see_want_to_be_merged_with_extension()
1426 && REG_P (SUBREG_REG (SET_SRC (sub)))))) in see_want_to_be_merged_with_extension()
1455 && REG_P (SUBREG_REG (SET_DEST (pat))))) in see_want_to_be_merged_with_extension()
1458 && REG_P (SUBREG_REG (SET_SRC (pat)))))) in see_want_to_be_merged_with_extension()
[all …]
HDsimplify-rtx.c323 op0 = simplify_replace_rtx (SUBREG_REG (x), old_rtx, new_rtx); in simplify_replace_rtx()
324 if (op0 == SUBREG_REG (x)) in simplify_replace_rtx()
327 GET_MODE (SUBREG_REG (x)), in simplify_replace_rtx()
463 < GET_MODE_SIZE (GET_MODE (SUBREG_REG (op)))) in simplify_unary_operation_1()
464 && GET_CODE (SUBREG_REG (op)) == ASHIFT in simplify_unary_operation_1()
465 && XEXP (SUBREG_REG (op), 0) == const1_rtx) in simplify_unary_operation_1()
467 enum machine_mode inner_mode = GET_MODE (SUBREG_REG (op)); in simplify_unary_operation_1()
473 XEXP (SUBREG_REG (op), 1)); in simplify_unary_operation_1()
646 && GET_CODE (SUBREG_REG (op)) == TRUNCATE in simplify_unary_operation_1()
648 return simplify_gen_unary (TRUNCATE, mode, XEXP (SUBREG_REG (op), 0), in simplify_unary_operation_1()
[all …]
HDdf-scan.c938 int regno = REGNO (GET_CODE (reg) == SUBREG ? SUBREG_REG (reg) : reg); in df_ref_create_structure()
1067 >= GET_MODE_SIZE (GET_MODE (SUBREG_REG (reg))))) in df_ref_record()
1069 loc = &SUBREG_REG (reg); in df_ref_record()
1074 regno = REGNO (GET_CODE (reg) == SUBREG ? SUBREG_REG (reg) : reg); in df_ref_record()
1093 regno += subreg_regno_offset (regno, GET_MODE (SUBREG_REG (reg)), in df_ref_record()
1169 isize = GET_MODE_SIZE (GET_MODE (SUBREG_REG (x))); in df_read_modify_subreg_p()
1240 if (GET_CODE (dst) == SUBREG && REG_P (SUBREG_REG (dst)) in df_def_record_1()
1245 || (GET_CODE (dst) == SUBREG && REG_P (SUBREG_REG (dst)))) in df_def_record_1()
1325 if (!REG_P (SUBREG_REG (x))) in df_uses_record()
1327 loc = &SUBREG_REG (x); in df_uses_record()
[all …]
HDreload1.c2571 if (REG_P (SUBREG_REG (x)) in eliminate_regs_1()
2573 <= GET_MODE_SIZE (GET_MODE (SUBREG_REG (x)))) in eliminate_regs_1()
2575 && reg_equiv_memory_loc[REGNO (SUBREG_REG (x))] != 0) in eliminate_regs_1()
2577 new = SUBREG_REG (x); in eliminate_regs_1()
2580 new = eliminate_regs_1 (SUBREG_REG (x), mem_mode, insn, false); in eliminate_regs_1()
2582 if (new != SUBREG_REG (x)) in eliminate_regs_1()
2784 if (REG_P (SUBREG_REG (x)) in elimination_effects()
2786 <= GET_MODE_SIZE (GET_MODE (SUBREG_REG (x)))) in elimination_effects()
2788 && reg_equiv_memory_loc[REGNO (SUBREG_REG (x))] != 0) in elimination_effects()
2791 elimination_effects (SUBREG_REG (x), mem_mode); in elimination_effects()
[all …]
HDrecog.c582 new = simplify_subreg (GET_MODE (x), SUBREG_REG (x), op0_mode, in validate_replace_rtx_1()
586 if (!new && GET_MODE (SUBREG_REG (x)) == VOIDmode) in validate_replace_rtx_1()
796 && REG_P (SUBREG_REG (SET_DEST (x))) in find_single_use_1()
797 && (((GET_MODE_SIZE (GET_MODE (SUBREG_REG (SET_DEST (x)))) in find_single_use_1()
974 rtx sub = SUBREG_REG (op); in general_operand()
1059 rtx sub = SUBREG_REG (op); in register_operand()
1221 if (! reload_completed && MEM_P (SUBREG_REG (op))) in nonmemory_operand()
1223 op = SUBREG_REG (op); in nonmemory_operand()
1335 inner = SUBREG_REG (inner); in memory_operand()
1348 && GET_CODE (op) == SUBREG && MEM_P (SUBREG_REG (op))) in indirect_operand()
[all …]
HDresource.c98 && (GET_CODE (dest) != SUBREG || !REG_P (SUBREG_REG (dest)))) in update_live_status()
227 if (!REG_P (SUBREG_REG (x))) in mark_referenced_resources()
228 mark_referenced_resources (SUBREG_REG (x), res, 0); in mark_referenced_resources()
311 x = SUBREG_REG (x); in mark_referenced_resources()
761 if (!REG_P (SUBREG_REG (x))) in mark_set_resources()
762 mark_set_resources (SUBREG_REG (x), res, in_dest, mark_type); in mark_set_resources()
HDreg-stack.c424 if (FP_REG_P (subreg = SUBREG_REG (*pat))) in get_true_reg()
494 && REG_P (SUBREG_REG (recog_data.operand[i]))) in check_asm_stack_operands()
495 recog_data.operand[i] = SUBREG_REG (recog_data.operand[i]); in check_asm_stack_operands()
511 if (GET_CODE (reg) == SUBREG && REG_P (SUBREG_REG (reg))) in check_asm_stack_operands()
512 reg = SUBREG_REG (reg); in check_asm_stack_operands()
1979 && REG_P (SUBREG_REG (recog_data.operand[i]))) in subst_asm_stack_regs()
1981 recog_data.operand_loc[i] = & SUBREG_REG (recog_data.operand[i]); in subst_asm_stack_regs()
1982 recog_data.operand[i] = SUBREG_REG (recog_data.operand[i]); in subst_asm_stack_regs()
2000 if (GET_CODE (reg) == SUBREG && REG_P (SUBREG_REG (reg))) in subst_asm_stack_regs()
2002 loc = & SUBREG_REG (reg); in subst_asm_stack_regs()
[all …]
HDpostreload.c999 regno = subreg_regno_offset (REGNO (SUBREG_REG (dst)), in reload_combine_note_store()
1000 GET_MODE (SUBREG_REG (dst)), in reload_combine_note_store()
1003 dst = SUBREG_REG (dst); in reload_combine_note_store()
1437 regno = subreg_regno_offset (REGNO (SUBREG_REG (dst)), in move2add_note_store()
1438 GET_MODE (SUBREG_REG (dst)), in move2add_note_store()
1441 dst = SUBREG_REG (dst); in move2add_note_store()
HDmode-switching.c186 reg = SUBREG_REG (reg); in reg_becomes_live()
276 && GET_CODE (SUBREG_REG (copy_reg)) == REG) in create_pre_exit()
277 copy_start = REGNO (SUBREG_REG (copy_reg)); in create_pre_exit()
HDregrename.c107 x = SUBREG_REG (x); in note_sets()
536 op0 = SUBREG_REG (op0); in scan_rtx_address()
542 op1 = SUBREG_REG (op1); in scan_rtx_address()
1140 x = simplify_subreg (GET_MODE (x), SUBREG_REG (x), in kill_value()
1141 GET_MODE (SUBREG_REG (x)), SUBREG_BYTE (x)); in kill_value()
1143 x = SUBREG_REG (orig_rtx); in kill_value()
1460 op0 = SUBREG_REG (op0); in replace_oldest_value_addr()
1466 op1 = SUBREG_REG (op1); in replace_oldest_value_addr()
HDrtlhooks.c51 && FLOAT_MODE_P (GET_MODE (SUBREG_REG (x))))) in gen_lowpart_general()
HDlocal-alloc.c1500 r1 = SUBREG_REG (r1); in block_alloc()
1860 rtx subreg = SUBREG_REG (usedreg); in combine_regs()
1893 rtx subreg = SUBREG_REG (setreg); in combine_regs()
2115 regno = REGNO (SUBREG_REG (reg)); in reg_is_born()
2423 || (GET_CODE (r1) == SUBREG && REG_P (SUBREG_REG (r1)) in no_conflict_p()
2424 && REGNO (SUBREG_REG (r1)) < FIRST_PSEUDO_REGISTER)) in no_conflict_p()
HDflow.c1503 if (REG_P (SUBREG_REG (*ptr)) in find_regno_partial()
1504 && REGNO (SUBREG_REG (*ptr)) == reg) in find_regno_partial()
1506 param->retval = SUBREG_REG (*ptr); in find_regno_partial()
2048 reg = SUBREG_REG (reg); in init_propagate_block_info()
2780 if (REG_P (SUBREG_REG (reg))) in mark_set_1()
2783 enum machine_mode inner_mode = GET_MODE (SUBREG_REG (reg)); in mark_set_1()
2788 regno_last = regno_first = REGNO (SUBREG_REG (reg)); in mark_set_1()
2818 reg = SUBREG_REG (reg); in mark_set_1()
2822 reg = SUBREG_REG (reg); in mark_set_1()
3992 && !((REG_BYTES (SUBREG_REG (x)) in mark_used_dest_regs()
[all …]
HDdf.h407 ? SUBREG_REG ((REF)->reg) : ((REF)->reg))
410 ? &SUBREG_REG ((REF)->reg) : ((REF)->loc))
HDexpmed.c366 int inner_mode_size = GET_MODE_SIZE (GET_MODE (SUBREG_REG (op0))); in store_bit_field()
385 op0 = SUBREG_REG (op0); in store_bit_field()
533 gcc_assert (GET_MODE (SUBREG_REG (op0)) == fieldmode in store_bit_field()
536 op0 = SUBREG_REG (op0); in store_bit_field()
609 == GET_MODE_SIZE (GET_MODE (SUBREG_REG (op0))))); in store_bit_field()
610 op0 = SUBREG_REG (op0); in store_bit_field()
706 xop0 = gen_rtx_SUBREG (maxmode, SUBREG_REG (xop0), SUBREG_BYTE (xop0)); in store_bit_field()
1049 word = operand_subword_force (SUBREG_REG (op0), word_offset, in store_split_bit_field()
1050 GET_MODE (SUBREG_REG (op0))); in store_split_bit_field()
1111 op0 = SUBREG_REG (op0); in extract_bit_field()
[all …]
/freebsd-11-stable/contrib/gcc/config/arm/
HDpredicates.md26 op = SUBREG_REG (op);
47 op = SUBREG_REG (op);
58 op = SUBREG_REG (op);
239 op = SUBREG_REG (op);
256 op = SUBREG_REG (op);
436 op = SUBREG_REG (op);
447 op = SUBREG_REG (op);
/freebsd-11-stable/contrib/gcc/config/ia64/
HDpredicates.md342 op = SUBREG_REG (op);
354 op = SUBREG_REG (op);
366 op = SUBREG_REG (op);
383 op = SUBREG_REG (op);
398 op = SUBREG_REG (op);
413 op = SUBREG_REG (op);
/freebsd-11-stable/contrib/gcc/config/sparc/
HDsparc.h1940 && GET_CODE (SUBREG_REG (X)) == REG \
1941 && REG_OK_FOR_BASE_P (SUBREG_REG (X))))
1946 && GET_CODE (SUBREG_REG (X)) == REG \
1947 && REG_OK_FOR_INDEX_P (SUBREG_REG (X))))

123