Change the type of memory classification functions to bool
commitfe610051a803131822bd02a8842a67b573b8e46a
authorUros Bizjak <ubizjak@gmail.com>
Mon, 12 Jul 2021 14:34:41 +0000 (12 16:34 +0200)
committerUros Bizjak <ubizjak@gmail.com>
Mon, 12 Jul 2021 14:35:14 +0000 (12 16:35 +0200)
treef07119f50a0457279b2f422cf09d9f9388ccc229
parent6bebd55e12375b397ed187630bb57d58611dfc5f
Change the type of memory classification functions to bool

2021-07-12  Uroš Bizjak  <ubizjak@gmail.com>

gcc/
* recog.c (memory_address_addr_space_p): Change the type to bool.
Return true/false instead of 1/0.
(offsettable_memref_p): Ditto.
(offsettable_nonstrict_memref_p): Ditto.
(offsettable_address_addr_space_p): Ditto.
Change the type of addressp indirect function to bool.
* recog.h (memory_address_addr_space_p): Change the type to bool.
(strict_memory_address_addr_space_p): Ditto.
(offsettable_memref_p): Ditto.
(offsettable_nonstrict_memref_p): Ditto.
(offsettable_address_addr_space_p): Ditto.
* reload.c (maybe_memory_address_addr_space_p): Ditto.
(strict_memory_address_addr_space_p): Change the type to bool.
Return true/false instead of 1/0.
(maybe_memory_address_addr_space_p): Change the type to bool.
gcc/recog.c
gcc/recog.h
gcc/reload.c