#include "hconfig.h"#include "system.h"#include "rtl.h"#include "obstack.h"#include "hashtab.h"

Go to the source code of this file.
Functions/Subroutines | |
| static void fatal_with_file_and_line | PARAMS ((FILE *, const char *,...)) |
| static void | fatal_expected_char (FILE *infile, int expected_c, int actual_c) |
| int | read_skip_spaces (FILE *infile) |
| static void | read_name (char *str, FILE *infile) |
| static void | read_escape (struct obstack *ob, FILE *infile) |
| static char * | read_quoted_string (struct obstack *ob, FILE *infile) |
| static char * | read_braced_string (struct obstack *ob, FILE *infile) |
| static char * | read_string (struct obstack *ob, FILE *infile, int star_if_braced) |
| static hashval_t | def_hash (void *def) const |
| static int | def_name_eq_p (void *def1, void *def2) const |
| static void | read_constants (FILE *infile, char *tmp_char) |
| void | traverse_md_constants (htab_trav callback, void *info) |
| static void | validate_const_int (FILE *infile, const char *string) |
| rtx | read_rtx (FILE *infile) |
Variables | |
| static htab_t | md_constants |
Definition at line 411 of file read-rtl.c.
References CHAR_BIT, i, and result.
Referenced by initialize_macros(), and read_constants().
Definition at line 424 of file read-rtl.c.
References strcmp().
Referenced by initialize_macros(), and read_constants().
Definition at line 93 of file read-rtl.c.
References fatal_with_file_and_line().
Referenced by read_conditions(), read_constants(), read_mapping(), read_rtx(), read_rtx_1(), read_rtx_variadic(), read_skip_spaces(), and read_string().
Definition at line 34 of file read-rtl.c.
References c, EOF, exit(), fprintf(), getc(), i, putc(), read_rtx_filename, VA_CLOSE, VA_FIXEDARG, VA_OPEN, and vfprintf().
Definition at line 300 of file read-rtl.c.
References c, getc(), obstack_1grow, obstack_finish, read_escape(), and read_rtx_lineno.
Referenced by read_string().
Definition at line 436 of file read-rtl.c.
References c, def_hash(), def_name_eq_p(), defs, entry_ptr, fatal_expected_char(), fatal_with_file_and_line(), htab_create(), htab_find_slot(), md_constants, md_constant::name, read_name(), read_skip_spaces(), strcmp(), TRUE, ungetc(), md_constant::value, xmalloc(), and xstrdup().
Referenced by read_rtx(), and read_rtx_1().
Definition at line 215 of file read-rtl.c.
References c, fprintf(), getc(), obstack_1grow, obstack_grow, read_rtx_filename, and read_rtx_lineno.
Referenced by read_braced_string(), and read_quoted_string().
Definition at line 160 of file read-rtl.c.
References c, fatal_with_file_and_line(), getc(), htab_find(), md_constants, md_constant::name, p, read_rtx_lineno, read_skip_spaces(), strcpy, ungetc(), and md_constant::value.
Referenced by read_conditions(), read_constants(), read_mapping(), read_rtx(), and read_rtx_1().
Definition at line 270 of file read-rtl.c.
References c, getc(), obstack_1grow, obstack_finish, read_escape(), and read_rtx_lineno.
Referenced by read_conditions(), and read_string().
Definition at line 533 of file read-rtl.c.
References abort, atoi(), atol(), atoll(), c, fatal_expected_char(), fatal_with_file_and_line(), fprintf(), ftell(), GET_CODE, GET_MODE_NAME, GET_RTX_FORMAT, GET_RTX_LENGTH, GET_RTX_NAME, getc(), HOST_WIDE_INT, i, initialized, memcpy, rtx_list::next, NIL, NULL, NULL_RTVEC, NUM_MACHINE_MODES, NUM_RTX_CODE, obstack_1grow, obstack_finish, obstack_free, obstack_grow, obstack_init, obstack_ptr_grow, PTR, PUT_MODE, read_constants(), read_name(), read_rtx_filename, read_rtx_lineno, read_skip_spaces(), read_string(), rtvec_alloc(), rtx_alloc, RTX_CODE, slash, sprintf(), strcmp(), strlen(), ungetc(), UNKNOWN, validate_const_int(), XEXP, XINT, XSTR, XTMPL, XVEC, and XWINT.
Referenced by init_md_reader(), init_md_reader_args_cb(), process_include(), and read_rtx().
| int read_skip_spaces | ( | FILE * | infile | ) |
Definition at line 107 of file read-rtl.c.
Referenced by init_md_reader(), process_include(), read_conditions(), read_constants(), read_mapping(), read_name(), read_rtx(), read_rtx_1(), read_rtx_variadic(), and read_string().
Definition at line 335 of file read-rtl.c.
References c, fatal_expected_char(), fatal_with_file_and_line(), obstack_1grow, read_braced_string(), read_quoted_string(), and read_skip_spaces().
Definition at line 495 of file read-rtl.c.
References htab_traverse(), and md_constants.
Referenced by main().
Definition at line 506 of file read-rtl.c.
References fatal_with_file_and_line(), ISDIGIT, and ISSPACE.
Referenced by read_conditions(), read_rtx(), and read_rtx_1().
htab_t md_constants [static] |
Definition at line 32 of file read-rtl.c.
Referenced by read_constants(), read_name(), and traverse_md_constants().
1.5.6