Commit 3f4ef678 by Michael Meissner Committed by Michael Meissner

Rename function.

2019-07-18  Michael Meissner  <meissner@linux.ibm.com>

	* config/rs6000/predicates.md (prefixed_mem_operand): Call
	rs6000_prefixed_address_mode_p instead of rs6000_prefixed_address.
	* config/rs6000/rs6000-protos.h (rs6000_prefixed_address_mode_p):
	Rename function from rs6000_prefixed_address.
	* config/rs6000/rs6000.c (rs6000_prefixed_address_mode_p): Rename
	function from rs6000_prefixed_address.

From-SVN: r273580
parent 9ae813e8
2019-07-18 Michael Meissner <meissner@linux.ibm.com> 2019-07-18 Michael Meissner <meissner@linux.ibm.com>
* config/rs6000/predicates.md (prefixed_mem_operand): Call
rs6000_prefixed_address_mode_p instead of rs6000_prefixed_address.
* config/rs6000/rs6000-protos.h (rs6000_prefixed_address_mode_p):
Rename function from rs6000_prefixed_address.
* config/rs6000/aix.h (TARGET_HAS_TOC): Rename TARGET_TOC to * config/rs6000/aix.h (TARGET_HAS_TOC): Rename TARGET_TOC to
TARGET_HAS_TOC. TARGET_HAS_TOC.
(TARGET_TOC): Likewise. (TARGET_TOC): Likewise.
...@@ -25,6 +29,8 @@ ...@@ -25,6 +29,8 @@
(output_toc): Use TARGET_NO_TOC_OR_PCREL instead of (output_toc): Use TARGET_NO_TOC_OR_PCREL instead of
TARGET_NO_TOC. TARGET_NO_TOC.
(rs6000_can_eliminate): Likewise. (rs6000_can_eliminate): Likewise.
(rs6000_prefixed_address_mode_p): Rename function from
rs6000_prefixed_address.
* config/rs6000/rs6000.h (TARGET_TOC): Define in terms of * config/rs6000/rs6000.h (TARGET_TOC): Define in terms of
TARGET_HAS_TOC and not pc-relative. TARGET_HAS_TOC and not pc-relative.
(TARGET_NO_TOC_OR_PCREL): New macro to replace TARGET_NO_TOC. (TARGET_NO_TOC_OR_PCREL): New macro to replace TARGET_NO_TOC.
......
...@@ -1686,7 +1686,7 @@ ...@@ -1686,7 +1686,7 @@
(define_predicate "prefixed_mem_operand" (define_predicate "prefixed_mem_operand"
(match_code "mem") (match_code "mem")
{ {
return rs6000_prefixed_address (XEXP (op, 0), GET_MODE (op)); return rs6000_prefixed_address_mode_p (XEXP (op, 0), GET_MODE (op));
}) })
;; Return 1 if op is a memory operand to an external variable when we ;; Return 1 if op is a memory operand to an external variable when we
......
...@@ -154,7 +154,7 @@ extern align_flags rs6000_loop_align (rtx); ...@@ -154,7 +154,7 @@ extern align_flags rs6000_loop_align (rtx);
extern void rs6000_split_logical (rtx [], enum rtx_code, bool, bool, bool); extern void rs6000_split_logical (rtx [], enum rtx_code, bool, bool, bool);
extern bool rs6000_pcrel_p (struct function *); extern bool rs6000_pcrel_p (struct function *);
extern bool rs6000_fndecl_pcrel_p (const_tree); extern bool rs6000_fndecl_pcrel_p (const_tree);
extern bool rs6000_prefixed_address (rtx, machine_mode); extern bool rs6000_prefixed_address_mode_p (rtx, machine_mode);
#endif /* RTX_CODE */ #endif /* RTX_CODE */
#ifdef TREE_CODE #ifdef TREE_CODE
......
...@@ -21504,7 +21504,7 @@ mode_supports_prefixed_address_p (machine_mode mode) ...@@ -21504,7 +21504,7 @@ mode_supports_prefixed_address_p (machine_mode mode)
mode MODE. */ mode MODE. */
bool bool
rs6000_prefixed_address (rtx addr, machine_mode mode) rs6000_prefixed_address_mode_p (rtx addr, machine_mode mode)
{ {
if (!TARGET_PREFIXED_ADDR || !mode_supports_prefixed_address_p (mode)) if (!TARGET_PREFIXED_ADDR || !mode_supports_prefixed_address_p (mode))
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment