osprey-gcc/gcc/genpreds.c File Reference

#include "bconfig.h"
#include "system.h"
#include "coretypes.h"
#include "tm.h"
#include "rtl.h"
#include "errors.h"
#include "gensupport.h"
#include "obstack.h"

Include dependency graph for genpreds.c:

Go to the source code of this file.

Defines

#define NO_MODE_TEST(EXP)   RTX_FLAG (EXP, volatil)

Functions/Subroutines

static void process_define_predicate (rtx defn)
static void write_tm_preds_h (void)
static void write_predicate_subfunction (struct pred_data *p)
static void mark_mode_tests (rtx exp)
static void add_mode_tests (struct pred_data *p)
static void write_match_code (const char *codes)
static void write_predicate_expr (const char *name, rtx exp)
static void write_one_predicate_function (struct pred_data *p)
static void write_insn_preds_c (void)
static bool parse_option (const char *opt)
int main (int argc, char **argv)
const char * get_insn_name (int code ATTRIBUTE_UNUSED)

Variables

static bool gen_header


Define Documentation

#define NO_MODE_TEST ( EXP   )     RTX_FLAG (EXP, volatil)

Definition at line 159 of file genpreds.c.

Referenced by add_mode_tests(), and mark_mode_tests().


Function Documentation

static void add_mode_tests ( struct pred_data p  )  [static]

const char* get_insn_name ( int code  ATTRIBUTE_UNUSED  ) 

Definition at line 497 of file genpreds.c.

int main ( int argc  ,
char **  argv 
)

static void mark_mode_tests ( rtx  exp  )  [static]

static bool parse_option ( const char *  opt  )  [static]

Definition at line 453 of file genpreds.c.

References gen_header, and strcmp().

Referenced by main().

static void process_define_predicate ( rtx  defn  )  [static]

static void write_insn_preds_c ( void   )  [static]

Definition at line 418 of file genpreds.c.

References FOR_ALL_PREDICATES, in_fname, p, printf(), progname, puts(), and write_one_predicate_function().

Referenced by main().

static void write_match_code ( const char *  codes  )  [static]

Definition at line 311 of file genpreds.c.

References fputs(), putchar(), scan_comma_elt(), and TOUPPER.

Referenced by write_predicate_expr().

static void write_one_predicate_function ( struct pred_data p  )  [static]

static void write_predicate_expr ( const char *  name,
rtx  exp 
) [static]

static void write_predicate_subfunction ( struct pred_data p  )  [static]

static void write_tm_preds_h ( void   )  [static]

Definition at line 61 of file genpreds.c.

References FOR_ALL_PREDICATES, in_fname, pred_data::name, p, printf(), progname, and puts().

Referenced by main().


Variable Documentation

bool gen_header [static]

Definition at line 451 of file genpreds.c.

Referenced by main(), and parse_option().


Generated on Wed Apr 8 15:34:17 2009 for Open64 by  doxygen 1.5.6