From: Michael Meissner Date: Thu, 18 Jul 2019 19:07:13 +0000 (+0000) Subject: Rename function. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f4ef678b4e701f9a702c6558993bc17460609b6;p=gcc.git Rename function. 2019-07-18 Michael Meissner * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 151297aab74..55680d13c29 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2019-07-18 Michael Meissner + * 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 TARGET_HAS_TOC. (TARGET_TOC): Likewise. @@ -25,6 +29,8 @@ (output_toc): Use TARGET_NO_TOC_OR_PCREL instead of TARGET_NO_TOC. (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 TARGET_HAS_TOC and not pc-relative. (TARGET_NO_TOC_OR_PCREL): New macro to replace TARGET_NO_TOC. diff --git a/gcc/config/rs6000/predicates.md b/gcc/config/rs6000/predicates.md index e64f772de02..5f687ead16d 100644 --- a/gcc/config/rs6000/predicates.md +++ b/gcc/config/rs6000/predicates.md @@ -1686,7 +1686,7 @@ (define_predicate "prefixed_mem_operand" (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 diff --git a/gcc/config/rs6000/rs6000-protos.h b/gcc/config/rs6000/rs6000-protos.h index feb1250fb8b..06e40d94b17 100644 --- a/gcc/config/rs6000/rs6000-protos.h +++ b/gcc/config/rs6000/rs6000-protos.h @@ -154,7 +154,7 @@ extern align_flags rs6000_loop_align (rtx); extern void rs6000_split_logical (rtx [], enum rtx_code, bool, bool, bool); extern bool rs6000_pcrel_p (struct function *); 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 */ #ifdef TREE_CODE diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 3f641042c52..0013b39d0a8 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -21504,7 +21504,7 @@ mode_supports_prefixed_address_p (machine_mode mode) mode MODE. */ 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)) return false;