20#ifndef GCC_GENSUPPORT_H
21#define GCC_GENSUPPORT_H
44#define OPTAB_CL(name, pat, c, b, l) name,
45#define OPTAB_CX(name, pat)
46#define OPTAB_CD(name, pat) name,
47#define OPTAB_NL(name, pat, c, b, s, l) name,
48#define OPTAB_NC(name, pat, c) name,
49#define OPTAB_NX(name, pat)
50#define OPTAB_VL(name, pat, c, b, s, l) name,
51#define OPTAB_VC(name, pat, c) name,
52#define OPTAB_VX(name, pat)
53#define OPTAB_DC(name, pat, c) name,
54#define OPTAB_D(name, pat) name,
134 bool (*)(
const char *));
168extern int cmp_c_test (
const void *,
const void *);
197#define FOR_ALL_PREDICATES(p) for (p = first_predicate; p; p = p->next)
Definition gensupport.h:30
file_location loc
Definition gensupport.h:36
rtx def
Definition gensupport.h:33
int index
Definition gensupport.h:41
static struct obstack obstack
Definition gcc.cc:360
#define NUM_RTX_CODE
Definition gengenrtl.cc:40
int cmp_c_test(const void *x, const void *y)
Definition gensupport.cc:3395
hashval_t hash_c_test(const void *x)
Definition gensupport.cc:3369
void traverse_c_tests(htab_trav callback, void *info)
Definition gensupport.cc:3444
rtx_reader * init_rtx_reader_args(int, const char **)
Definition gensupport.cc:3176
bool find_optab(optab_pattern *, const char *)
Definition gensupport.cc:3899
void add_predicate_code(struct pred_data *, enum rtx_code)
Definition gensupport.cc:3481
optab_def optabs[]
Definition gensupport.cc:3778
unsigned int num_optabs
Definition gensupport.cc:3784
unsigned int get_register_filter_id(const char *)
Definition gensupport.cc:415
int count_patterns()
Definition gensupport.cc:3183
int insn_elision
Definition gensupport.cc:45
const char * get_c_test(rtx)
Definition gensupport.cc:3345
hash_set< rtx > compact_syntax
Definition gensupport.cc:39
void compute_test_codes(rtx, file_location, char *)
Definition gensupport.cc:227
void add_c_test(const char *, int)
Definition gensupport.cc:3427
rtx add_implicit_parallel(rtvec)
Definition gensupport.cc:154
bool needs_barrier_p(rtx)
Definition gensupport.cc:3755
file_location get_file_location(rtx)
Definition gensupport.cc:3325
unsigned int get_num_insn_codes()
Definition gensupport.cc:3336
const char * get_emit_function(rtx)
Definition gensupport.cc:3731
FILE * choose_output(const vec< FILE * > &, unsigned &)
Definition gensupport.cc:3926
struct pred_data * lookup_predicate(const char *)
Definition gensupport.cc:3471
rtx_reader * init_rtx_reader_args_cb(int, const char **, bool(*)(const char *))
Definition gensupport.cc:3132
int maybe_eval_c_test(const char *)
Definition gensupport.cc:3408
optab_tag
Definition gensupport.h:57
@ NUM_OPTABS
Definition gensupport.h:616
@ unknown_optab
Definition gensupport.h:58
void get_pattern_stats(struct pattern_stats *ranges, rtvec vec)
Definition gensupport.cc:3704
void add_predicate(struct pred_data *)
Definition gensupport.cc:3509
struct pred_data * first_predicate
Definition gensupport.cc:3454
vec< const char * > register_filters
Definition gensupport.cc:408
struct obstack * rtl_obstack
Definition gensupport.cc:48
bool read_md_rtx(md_rtx_info *)
Definition gensupport.cc:3240
rtx_code
Definition rtl.h:48
Definition gensupport.h:161
int value
Definition gensupport.h:163
const char * expr
Definition gensupport.h:162
Definition gensupport.h:77
const char * base
Definition gensupport.h:87
unsigned int kind
Definition gensupport.h:105
const char * suffix
Definition gensupport.h:88
const char * name
Definition gensupport.h:79
unsigned int op
Definition gensupport.h:92
const char * libcall
Definition gensupport.h:89
enum rtx_code rcode
Definition gensupport.h:98
enum rtx_code fcode
Definition gensupport.h:95
const char * pattern
Definition gensupport.h:83
Definition gensupport.h:116
unsigned int op
Definition gensupport.h:121
const char * name
Definition gensupport.h:118
unsigned int sort_num
Definition gensupport.h:129
unsigned int m1
Definition gensupport.h:125
unsigned int m2
Definition gensupport.h:125
Definition gensupport.h:200
int min_scratch_opno
Definition gensupport.h:209
int max_scratch_opno
Definition gensupport.h:210
int num_generator_args
Definition gensupport.h:217
int num_dups
Definition gensupport.h:214
int num_operand_vars
Definition gensupport.h:223
int max_dup_opno
Definition gensupport.h:206
int num_insn_operands
Definition gensupport.h:220
int max_opno
Definition gensupport.h:203
Definition gensupport.h:175
bool codes[NUM_RTX_CODE]
Definition gensupport.h:189
struct pred_data * next
Definition gensupport.h:176
bool allows_non_lvalue
Definition gensupport.h:187
rtx exp
Definition gensupport.h:182
bool special
Definition gensupport.h:178
const char * name
Definition gensupport.h:177
int num_codes
Definition gensupport.h:186
bool allows_non_const
Definition gensupport.h:188
const char * c_block
Definition gensupport.h:181
enum rtx_code singleton
Definition gensupport.h:185