GCC Middle and Back End API Reference
|
Functions | |
rtx | gen_lowpart_general () |
rtx | reg_num_sign_bit_copies_general (const_rtx x, enum machine_mode mode, const_rtx known_x, enum machine_mode known_mode, unsigned int known_ret, unsigned int *result) |
rtx | reg_nonzero_bits_general (const_rtx x, enum machine_mode mode, const_rtx known_x, enum machine_mode known_mode, unsigned HOST_WIDE_INT known_ret, unsigned HOST_WIDE_INT *nonzero) |
bool | reg_truncated_to_mode_general (enum machine_mode mode, const_rtx x) |
rtx | gen_lowpart_if_possible () |
Variables | |
struct rtl_hooks | general_rtl_hooks = RTL_HOOKS_INITIALIZER |
struct rtl_hooks | rtl_hooks = RTL_HOOKS_INITIALIZER |
rtx gen_lowpart_general | ( | ) |
References copy_to_reg(), force_reg(), gen_lowpart_common(), gen_lowpart_general(), offset, and reload_completed.
rtx gen_lowpart_if_possible | ( | ) |
Assuming that X is an rtx (e.g., MEM, REG or SUBREG) for a fixed-point number, return an rtx (MEM, SUBREG, or CONST_INT) that refers to the least-significant part of X. MODE specifies how big a part of X to return. If the requested operation cannot be done, 0 is returned. This is similar to gen_lowpart_general.
References gen_lowpart_common(), gen_lowpart_SUBREG(), memory_address_addr_space_p(), offset, subreg_lowpart_offset(), and validate_subreg().
rtx reg_nonzero_bits_general | ( | const_rtx | x, |
enum machine_mode | mode, | ||
const_rtx | known_x, | ||
enum machine_mode | known_mode, | ||
unsigned HOST_WIDE_INT | known_ret, | ||
unsigned HOST_WIDE_INT * | nonzero | ||
) |
rtx reg_num_sign_bit_copies_general | ( | const_rtx | x, |
enum machine_mode | mode, | ||
const_rtx | known_x, | ||
enum machine_mode | known_mode, | ||
unsigned int | known_ret, | ||
unsigned int * | result | ||
) |
bool reg_truncated_to_mode_general | ( | enum machine_mode | mode, |
const_rtx | x | ||
) |
struct rtl_hooks general_rtl_hooks = RTL_HOOKS_INITIALIZER |
@verbatim Generic hooks for the RTL middle-end.
Copyright (C) 2004-2013 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see http://www.gnu.org/licenses/.
For speed, we will copy the RTX hooks struct member-by-member instead of doing indirect calls. For these reason, we initialize *two* struct rtl_hooks globals: rtl_hooks is the one that is used to actually call the hooks, while general_rtl_hooks is used to restore the hooks by passes that modify them.
Referenced by combine_instructions(), and cse_main().