osprey/kg++fe/gnu/read-rtl.c File Reference

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

Include dependency graph for read-rtl.c:

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


Function Documentation

static hashval_t def_hash ( void def  )  const [static]

Definition at line 411 of file read-rtl.c.

References CHAR_BIT, i, and result.

Referenced by initialize_macros(), and read_constants().

static int def_name_eq_p ( void def1,
void def2 
) const [static]

Definition at line 424 of file read-rtl.c.

References strcmp().

Referenced by initialize_macros(), and read_constants().

static void fatal_expected_char ( FILE infile,
int  expected_c,
int  actual_c 
) [static]

static void fatal_with_file_and_line PARAMS ( (FILE *, const char *,...)   )  [static]

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().

static char* read_braced_string ( struct obstack ob,
FILE infile 
) [static]

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().

static void read_constants ( FILE infile,
char *  tmp_char 
) [static]

static void read_escape ( struct obstack ob,
FILE infile 
) [static]

static void read_name ( char *  str,
FILE infile 
) [static]

static char* read_quoted_string ( struct obstack ob,
FILE infile 
) [static]

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().

rtx read_rtx ( FILE infile  ) 

int read_skip_spaces ( FILE infile  ) 

static char* read_string ( struct obstack ob,
FILE infile,
int  star_if_braced 
) [static]

void traverse_md_constants ( htab_trav  callback,
void info 
)

Definition at line 495 of file read-rtl.c.

References htab_traverse(), and md_constants.

Referenced by main().

static void validate_const_int ( FILE infile,
const char *  string 
) [static]

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().


Variable Documentation

htab_t md_constants [static]

Definition at line 32 of file read-rtl.c.

Referenced by read_constants(), read_name(), and traverse_md_constants().


Generated on Wed Apr 8 15:42:22 2009 for Open64 by  doxygen 1.5.6