comparison gcc/recog.h @ 63:b7f97abdc517 gcc-4.6-20100522

update gcc from gcc-4.5.0 to gcc-4.6
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Mon, 24 May 2010 12:47:05 +0900
parents 77e2b8dfacca
children f6334be47118
comparison
equal deleted inserted replaced
56:3c8a44c06a95 63:b7f97abdc517
1 /* Declarations for interface to insn recognizer and insn-output.c. 1 /* Declarations for interface to insn recognizer and insn-output.c.
2 Copyright (C) 1987, 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2 Copyright (C) 1987, 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004,
3 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 3 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
4 4
5 This file is part of GCC. 5 This file is part of GCC.
6 6
7 GCC is free software; you can redistribute it and/or modify it under 7 GCC is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free 8 the terms of the GNU General Public License as published by the Free
109 extern int offsettable_address_addr_space_p (int, enum machine_mode, rtx, 109 extern int offsettable_address_addr_space_p (int, enum machine_mode, rtx,
110 addr_space_t); 110 addr_space_t);
111 #define offsettable_address_p(strict,mode,addr) \ 111 #define offsettable_address_p(strict,mode,addr) \
112 offsettable_address_addr_space_p ((strict), (mode), (addr), \ 112 offsettable_address_addr_space_p ((strict), (mode), (addr), \
113 ADDR_SPACE_GENERIC) 113 ADDR_SPACE_GENERIC)
114 extern int mode_dependent_address_p (rtx); 114 extern bool mode_dependent_address_p (rtx);
115 115
116 extern int recog (rtx, rtx, int *); 116 extern int recog (rtx, rtx, int *);
117 #ifndef GENERATOR_FILE 117 #ifndef GENERATOR_FILE
118 static inline int recog_memoized (rtx insn); 118 static inline int recog_memoized (rtx insn);
119 #endif 119 #endif
192 rtx *operand_loc[MAX_RECOG_OPERANDS]; 192 rtx *operand_loc[MAX_RECOG_OPERANDS];
193 193
194 /* Gives the constraint string for operand N. */ 194 /* Gives the constraint string for operand N. */
195 const char *constraints[MAX_RECOG_OPERANDS]; 195 const char *constraints[MAX_RECOG_OPERANDS];
196 196
197 /* Nonzero if operand N is a match_operator or a match_parallel. */
198 char is_operator[MAX_RECOG_OPERANDS];
199
197 /* Gives the mode of operand N. */ 200 /* Gives the mode of operand N. */
198 enum machine_mode operand_mode[MAX_RECOG_OPERANDS]; 201 enum machine_mode operand_mode[MAX_RECOG_OPERANDS];
199 202
200 /* Gives the type (in, out, inout) for operand N. */ 203 /* Gives the type (in, out, inout) for operand N. */
201 enum op_type operand_type[MAX_RECOG_OPERANDS]; 204 enum op_type operand_type[MAX_RECOG_OPERANDS];
257 const char *const constraint; 260 const char *const constraint;
258 261
259 ENUM_BITFIELD(machine_mode) const mode : 16; 262 ENUM_BITFIELD(machine_mode) const mode : 16;
260 263
261 const char strict_low; 264 const char strict_low;
265
266 const char is_operator;
262 267
263 const char eliminable; 268 const char eliminable;
264 }; 269 };
265 270
266 /* Legal values for insn_data.output_format. Indicate what type of data 271 /* Legal values for insn_data.output_format. Indicate what type of data