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

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 NO_MODE_TEST | ( | EXP | ) | RTX_FLAG (EXP, volatil) |
Definition at line 227 of file genpreds.c.
References AND, pred_data::exp, gcc_assert, GET_CODE, mark_mode_tests(), NO_MODE_TEST, pos(), rtx_alloc, pred_data::special, XEXP, and XSTR.
Referenced by write_one_predicate_function().
| const char* get_insn_name | ( | int code | ATTRIBUTE_UNUSED | ) |
Definition at line 497 of file genpreds.c.
| int main | ( | int argc | , | |
| char ** | argv | |||
| ) |
Definition at line 466 of file genpreds.c.
References fatal(), FATAL_EXIT_CODE, fclose(), ferror(), fflush(), gen_header, GET_CODE, have_error, init_md_reader_args_cb(), next_insn_code, parse_option(), pattern_lineno, process_define_predicate(), progname, read_md_rtx(), SUCCESS_EXIT_CODE, write_insn_preds_c(), and write_tm_preds_h().
Definition at line 161 of file genpreds.c.
References AND, error(), GET_CODE, GET_MODE, GET_RTX_NAME, lookup_predicate(), NO_MODE_TEST, NOT, p, pred_data::special, strstr(), XEXP, and XSTR.
Referenced by add_mode_tests(), and mark_mode_tests().
| static bool parse_option | ( | const char * | opt | ) | [static] |
Definition at line 453 of file genpreds.c.
References gen_header, and strcmp().
Referenced by main().
Definition at line 37 of file genpreds.c.
References add_predicate(), pred_data::c_block, error(), pred_data::exp, GET_CODE, pred_data::name, pred_data::special, xcalloc(), XEXP, and XSTR.
Referenced by main().
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().
Definition at line 392 of file genpreds.c.
References add_mode_tests(), pred_data::exp, fputs(), pred_data::name, printf(), write_predicate_expr(), and write_predicate_subfunction().
Referenced by write_insn_preds_c().
Definition at line 332 of file genpreds.c.
References AND, error(), fputs(), GET_CODE, GET_MODE, GET_RTX_NAME, mode_name, NOT, printf(), putchar(), write_match_code(), XEXP, and XSTR.
Referenced by write_insn_const_int_ok_for_constraint(), write_one_predicate_function(), write_predicate_expr(), and write_predicate_stmts().
Definition at line 113 of file genpreds.c.
References AND, pred_data::c_block, pred_data::exp, fputs(), pred_data::name, obstack_finish, obstack_grow, printf(), rtl_obstack, rtx_alloc, strlen(), XEXP, and XSTR.
Referenced by write_one_predicate_function().
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().
bool gen_header [static] |
1.5.6