aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/m32c/m32c-protos.h
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@gcc.gnu.org>2012-08-22 02:23:19 +0000
committerNathan Froyd <froydnj@gcc.gnu.org>2012-08-22 02:23:19 +0000
commit03dd17b12e13b5c1cef36c4b52fa3acc7b7640f2 (patch)
treebe7b56fe9dfc21819a3533ac4334a4007af10c31 /gcc/config/m32c/m32c-protos.h
parentc42df5efd30bd44603c52935c963baa412854895 (diff)
downloadgcc-03dd17b12e13b5c1cef36c4b52fa3acc7b7640f2.zip
gcc-03dd17b12e13b5c1cef36c4b52fa3acc7b7640f2.tar.gz
gcc-03dd17b12e13b5c1cef36c4b52fa3acc7b7640f2.tar.bz2
constraints.md: New file.
* config/m32c/constraints.md: New file. * config/m32c/t-m32c (MD_FILES): Add constraints. * config/m32c/m32c-protos.h (m32c_const_ok_for_constraint_p): Delete. (m32c_extra_address_constraint, m32c_extra_memory_constraint): Delete. (m32c_reg_class_from_constraint): Delete. (m32c_extra_constraint_p, m32c_extra_constraint_p2): Delete. (m32c_matches_constraint_p): Declare. * config/m32c/m32c.h (CONSTRAINT_LEN): Delete. (REG_CLASS_FROM_CONSTRAINT): Delete. (CONST_OK_FOR_CONSTRAINT_P): Delete. (CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Delete. (EXTRA_CONSTRAINT_STR): Delete. (EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT): Delete. * config/m32c/m32c.c: Include tm-constrs.h (m32c_reg_class_from_constraint): Delete. (m32c_const_ok_for_constraint_p): Delete. (m32c_extra_constraint_p2): Rename to... (m32c_matches_constraint_p): ...this. Make it return bool. Tweak formatting. (m32c_extra_constraint_p): Delete. (m32c_extra_address_constraint, m32c_extra_memory_constraint): Delete. (m32c_split_move): Use satisfies_constraint_Ss. * config/m32c/predicates.md (memsym_operand): Use satisfies_constraint_Si. (memimmed_operand): Use satisfies_constraint_Sp. (m32c_psi_scale, m32c_1bit8_operand): Use satisfies_constraint_Ilb. (m32c_1bit16_operand): Use satisfies_constraint_Ilw. (m32c_1mask8_operand): Use satisfies_constraint_ImB. (m32c_1mask16_operand): Use satisfies_constraint_Imw. From-SVN: r190585
Diffstat (limited to 'gcc/config/m32c/m32c-protos.h')
-rw-r--r--gcc/config/m32c/m32c-protos.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/config/m32c/m32c-protos.h b/gcc/config/m32c/m32c-protos.h
index 9c247dc..1f70da1 100644
--- a/gcc/config/m32c/m32c-protos.h
+++ b/gcc/config/m32c/m32c-protos.h
@@ -20,21 +20,17 @@
<http://www.gnu.org/licenses/>. */
void m32c_conditional_register_usage (void);
-int m32c_const_ok_for_constraint_p (HOST_WIDE_INT, char, const char *);
unsigned int m32c_dwarf_frame_regnum (int);
int m32c_eh_return_data_regno (int);
void m32c_emit_epilogue (void);
void m32c_emit_prologue (void);
int m32c_epilogue_uses (int);
-int m32c_extra_address_constraint (char, const char *);
-int m32c_extra_memory_constraint (char, const char *);
int m32c_function_arg_regno_p (int);
void m32c_init_expanders (void);
int m32c_initial_elimination_offset (int, int);
void m32c_output_reg_pop (FILE *, int);
void m32c_output_reg_push (FILE *, int);
unsigned int m32c_push_rounding (int);
-int m32c_reg_class_from_constraint (char, const char *);
void m32c_register_pragmas (void);
void m32c_note_pragma_address (const char *, unsigned);
int m32c_regno_ok_for_base_p (int);
@@ -53,8 +49,7 @@ int m32c_expand_movmemhi (rtx *);
int m32c_expand_movstr (rtx *);
void m32c_expand_neg_mulpsi3 (rtx *);
int m32c_expand_setmemhi (rtx *);
-int m32c_extra_constraint_p (rtx, char, const char *);
-int m32c_extra_constraint_p2 (rtx, char, const char *);
+bool m32c_matches_constraint_p (rtx, int);
int m32c_hard_regno_nregs (int, enum machine_mode);
int m32c_hard_regno_ok (int, enum machine_mode);
bool m32c_illegal_subreg_p (rtx);