summaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorAdam Nemet <anemet@caviumnetworks.com>2009-08-11 17:31:09 +0000
committerAdam Nemet <nemet@gcc.gnu.org>2009-08-11 17:31:09 +0000
commit842e098c5ff56730b4d84d5560eb4053a12ebd61 (patch)
tree3685d54374ef0fee2a34f53968de7c8ccad1f008 /gcc/rtl.h
parentc53c2591f607409e311a2b319d95d17ea336a836 (diff)
downloadgcc-842e098c5ff56730b4d84d5560eb4053a12ebd61.tar.gz
combine.c (try_widen_shift_mode): Factor out code to check if an integer constant is a low-order bitmask from here ...
* combine.c (try_widen_shift_mode): Factor out code to check if an integer constant is a low-order bitmask from here ... * rtlanal.c (low_bitmask_len): ... to here. * rtl.h (low_bitmask_len): Declare. From-SVN: r150656
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index d5ae561d3af..cf07348a3cb 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1095,6 +1095,7 @@ extern unsigned HOST_WIDE_INT nonzero_bits (const_rtx, enum machine_mode);
extern unsigned int num_sign_bit_copies (const_rtx, enum machine_mode);
extern bool constant_pool_constant_p (rtx);
extern bool truncated_to_mode (enum machine_mode, const_rtx);
+extern int low_bitmask_len (enum machine_mode, unsigned HOST_WIDE_INT);
/* 1 if RTX is a subreg containing a reg that is already known to be