37: filename (filename_in), lineno (lineno_in), colno (colno_in) {}
216 unsigned int index,
const char *name);
353 char *
read_until (
const char *terminator_chars,
bool consume_terminator);
367#ifndef GENERATOR_FILE
form
Definition auto-inc-dec.cc:131
int lineno
Definition read-md.h:32
const char * filename
Definition read-md.h:31
file_location()
Definition read-md.h:28
int colno
Definition read-md.h:33
file_location read_name(struct md_name *name)
Definition read-md.cc:517
char * m_base_dir
Definition read-md.h:255
void read_escape()
Definition read-md.cc:545
file_name_list ** m_last_dir_md_include_ptr
Definition read-md.h:278
md_reader(bool compact)
Definition read-md.cc:999
void fprint_c_condition(FILE *outf, const char *cond)
Definition read-md.cc:173
virtual void handle_unknown_directive(file_location, const char *)=0
overloaded_name ** m_next_overload_ptr
Definition read-md.h:314
char * read_string(int star_if_braced)
Definition read-md.cc:662
htab_t m_joined_conditions
Definition read-md.h:294
int read_char(void)
Definition read-md.cc:391
void handle_include(file_location loc)
Definition read-md.cc:1064
void traverse_enum_types(htab_trav callback, void *info)
Definition read-md.cc:991
const char * get_filename() const
Definition read-md.h:221
const char * join_c_conditions(const char *cond1, const char *cond2)
Definition read-md.cc:144
void read_skip_construct(int depth, file_location loc)
Definition read-md.cc:706
void fprint_md_ptr_loc(FILE *outf, const void *ptr)
Definition read-md.cc:126
htab_t m_ptr_locs
Definition read-md.h:284
int m_read_md_lineno
Definition read-md.h:264
void record_potential_iterator_use(struct iterator_group *group, file_location loc, rtx x, unsigned int index, const char *name)
Definition read-rtl.cc:1225
int m_last_line
Definition read-md.h:308
int m_first_line
Definition read-md.h:307
file_name_list * m_first_dir_md_include
Definition read-md.h:275
overloaded_name * handle_overloaded_name(rtx, vec< mapping * > *)
htab_t m_overloads_htab
Definition read-md.h:318
void traverse_md_constants(htab_trav callback, void *info)
Definition read-md.cc:879
void set_md_ptr_loc(const void *ptr, file_location)
Definition read-md.cc:92
int peek_char(void)
Definition read-md.cc:436
void copy_md_ptr_loc(const void *new_ptr, const void *old_ptr)
Definition read-md.cc:115
struct enum_type * lookup_enum_type(const char *name)
Definition read-md.cc:981
bool read_md_files(int, const char **, bool(*)(const char *))
const char * apply_iterator_to_string(const char *string)
Definition read-rtl.cc:544
int get_lineno() const
Definition read-md.h:222
virtual ~md_reader()
Definition read-md.cc:1038
struct obstack m_string_obstack
Definition read-md.h:281
const char * get_top_level_filename() const
Definition read-md.h:220
void require_char_ws(char expected)
Definition read-md.cc:369
void handle_constants()
Definition read-md.cc:848
bool read_file_fragment(const char *filename, int first_line, int last_line)
Definition read-md.cc:1339
struct obstack * get_string_obstack()
Definition read-md.h:225
struct obstack m_ptr_loc_obstack
Definition read-md.h:288
char * read_quoted_string()
Definition read-md.cc:598
const struct ptr_loc * get_md_ptr_loc(const void *ptr)
Definition read-md.cc:107
rtx copy_rtx_for_iterators(rtx original)
Definition read-rtl.cc:584
void add_include_path(const char *arg)
Definition read-md.cc:1199
int get_colno() const
Definition read-md.h:223
int m_last_line_colno
Definition read-md.h:272
const char * m_read_md_filename
Definition read-md.h:261
void handle_toplevel_file()
Definition read-md.cc:1176
htab_t m_md_constants
Definition read-md.h:301
bool m_compact
Definition read-md.h:247
bool is_compact() const
Definition read-md.h:176
overloaded_name * m_first_overload
Definition read-md.h:311
bool read_name_1(struct md_name *name, file_location *out_loc)
Definition read-md.cc:447
overloaded_name * get_overloads() const
Definition read-md.h:228
struct obstack m_joined_conditions_obstack
Definition read-md.h:297
char * read_braced_string()
Definition read-md.cc:625
bool read_file(const char *filename)
Definition read-md.cc:1323
void require_word_ws(const char *expected)
Definition read-md.cc:380
htab_t get_md_constants()
Definition read-md.h:226
int m_read_md_colno
Definition read-md.h:267
file_location get_current_location() const
Definition read-md.cc:1191
file_location read_name_or_nil(struct md_name *)
Definition read-md.cc:526
void print_md_ptr_loc(const void *ptr, FILE *=stdout)
Definition read-md.cc:135
void unread_char(int ch)
Definition read-md.cc:421
FILE * m_read_md_file
Definition read-md.h:258
void require_char(char expected)
Definition read-md.cc:358
struct mapping * read_mapping(struct iterator_group *group, htab_t table)
void print_c_condition(FILE *outf, const char *cond)
Definition read-md.cc:195
void handle_enum(file_location loc, bool md_p)
Definition read-md.cc:902
void handle_file()
Definition read-md.cc:1142
const char * m_toplevel_fname
Definition read-md.h:251
htab_t m_enum_types
Definition read-md.h:304
noop_reader()
Definition read-md.h:330
void handle_unknown_directive(file_location, const char *) override
Definition read-md.cc:1360
rtx read_nested_rtx()
Definition read-rtl.cc:2085
virtual rtx postprocess(rtx x)
Definition read-md.h:356
bool m_in_call_function_usage
Definition read-md.h:365
bool read_rtx(const char *rtx_name, vec< rtx > *rtxen)
rtx read_rtx_variadic(rtx form)
Definition read-rtl.cc:2117
rtx_reader(bool compact)
Definition read-rtl.cc:2143
auto_vec< rtx > m_reuse_rtx_by_id
Definition read-md.h:369
virtual const char * finalize_string(char *stringbuf)
Definition read-md.h:361
rtx rtx_alloc_for_name(const char *)
Definition read-rtl.cc:1615
char * read_until(const char *terminator_chars, bool consume_terminator)
Definition read-rtl.cc:1534
rtx read_rtx_code(const char *code_name)
Definition read-rtl.cc:1671
virtual rtx read_rtx_operand(rtx return_rtx, int idx)
Definition read-rtl.cc:1858
~rtx_reader()
Definition read-rtl.cc:2155
virtual void handle_any_trailing_information(rtx)
Definition read-md.h:355
static struct table_elt * table[HASH_SIZE]
Definition cse.cc:470
void ATTRIBUTE_NORETURN
Definition diagnostic-core.h:105
static struct obstack obstack
Definition gcc.cc:360
hashval_t leading_string_hash(const void *)
Definition read-md.cc:58
void message_at(file_location, const char *,...) ATTRIBUTE_PRINTF_2
Definition read-md.cc:214
void fatal_expected_char(int, int) ATTRIBUTE_NORETURN
Definition read-md.cc:296
int n_comma_elts(const char *)
Definition read-md.cc:755
void fatal_with_file_and_line(const char *,...) ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN
Definition read-md.cc:253
void(* include_callback)(const char *)
Definition read-md.cc:48
const char * join_c_conditions(const char *, const char *)
md_reader * md_reader_ptr
Definition read-md.cc:52
int leading_string_eq_p(const void *, const void *)
Definition read-md.cc:67
rtx_reader * rtx_reader_ptr
Definition read-rtl.cc:141
struct enum_type * lookup_enum_type(const char *)
void traverse_enum_types(htab_trav, void *)
const char * scan_comma_elt(const char **)
Definition read-md.cc:776
int read_skip_spaces(void)
Definition read-md.cc:310
void upcase_string(char *)
Definition read-md.cc:801
int read_char(void)
Definition read-md.h:381
void unread_char(int ch)
Definition read-md.h:389
void error_at(file_location, const char *,...) ATTRIBUTE_PRINTF_2
Definition read-md.cc:226
void fatal_at(file_location, const char *,...) ATTRIBUTE_PRINTF_2
Definition read-md.cc:239
const char *const rtx_name[NUM_RTX_CODE]
Definition rtl.cc:55
struct enum_value ** tail_ptr
Definition read-md.h:89
char * name
Definition read-md.h:79
unsigned int num_values
Definition read-md.h:92
bool md_p
Definition read-md.h:83
struct enum_value * values
Definition read-md.h:86
struct enum_value * next
Definition read-md.h:67
struct md_constant * def
Definition read-md.h:73
char * name
Definition read-md.h:70
Definition read-rtl.cc:64
Definition read-rtl.cc:49
char * value
Definition read-md.h:57
char * name
Definition read-md.h:54
struct enum_type * parent_enum
Definition read-md.h:61
char * string
Definition read-md.h:47
char buffer[256]
Definition read-md.h:43
const char * fname
Definition read-md.h:234
struct file_name_list * next
Definition read-md.h:233
file_location loc
Definition read-md.h:156
const void * ptr
Definition read-md.h:155
Definition gengtype.h:377
vec< const char * > arg_values
Definition read-md.h:102
rtx insn
Definition read-md.h:108
const char * name
Definition read-md.h:105
overloaded_instance * next
Definition read-md.h:98
vec< const char * > arg_types
Definition read-md.h:126
const char * name
Definition read-md.h:121
overloaded_instance * first_instance
Definition read-md.h:129
overloaded_instance ** next_instance_ptr
Definition read-md.h:132
overloaded_name * next
Definition read-md.h:117
#define false
Definition system.h:888