Home
last modified time | relevance | path

Searched refs:XSTR (Results 1 – 25 of 80) sorted by relevance

1234

/dragonfly/contrib/gcc-4.7/gcc/
HDgensupport.c216 if (XSTR (exp, 1)[0] != '\0') in compute_predicate_codes()
224 const char *next_code = XSTR (exp, 0); in compute_predicate_codes()
269 struct pred_data *p = lookup_predicate (XSTR (exp, 1)); in compute_predicate_codes()
273 XSTR (exp, 1)); in compute_predicate_codes()
326 if (!valid_predicate_name_p (XSTR (desc, 0))) in process_define_predicate()
330 XSTR (desc, 0)); in process_define_predicate()
335 pred->name = XSTR (desc, 0); in process_define_predicate()
337 pred->c_block = XSTR (desc, 2); in process_define_predicate()
378 XSTR (t1, 0) = name; in add_define_attr()
379 XSTR (t1, 1) = "no,yes"; in add_define_attr()
[all …]
HDgenattr.c47 printf ("#define HAVE_ATTR_%s\n", XSTR (attr, 0));
52 XSTR (attr, 1), XSTR (attr, 0), (is_const ? "void" : "rtx"));
55 p = XSTR (attr, 1);
57 printf ("extern int get_attr_%s (%s);\n", XSTR (attr, 0),
61 XSTR (attr, 0), XSTR (attr, 0), (is_const ? "void" : "rtx"));
66 if (! strcmp (XSTR (attr, 0), "length"))
95 return strcmp (XSTR (exp, 0), name) == 0; in check_tune_attr()
119 if (strcmp (XSTR (exp, 0), "alternative") == 0) in find_tune_attr()
123 if (strcmp (XSTR (attr, 0), XSTR (exp, 0)) == 0) in find_tune_attr()
129 if (! check_tune_attr (XSTR (attr, 0), XEXP (resv, 2))) in find_tune_attr()
HDgenattrtab.c449 && XSTR (h->u.rtl, 0) == arg0) in attr_rtx_1()
456 XSTR (rt_val, 0) = arg0; in attr_rtx_1()
475 && XSTR (h->u.rtl, 0) == arg0 in attr_rtx_1()
476 && XSTR (h->u.rtl, 1) == arg1) in attr_rtx_1()
483 XSTR (rt_val, 0) = arg0; in attr_rtx_1()
484 XSTR (rt_val, 1) = arg1; in attr_rtx_1()
521 XSTR (rt_val, i) = va_arg (p, char *); in attr_rtx_1()
588 return XSTR (make_numeric_value (n), 0); in attr_numeral()
711 XSTR (copy, i) = XSTR (orig, i); in attr_copy_rtx()
747 if (XSTR (exp, 1)[0] == '!') in check_attr_test()
[all …]
HDrtl.c397 return XSTR (x, 0) == XSTR (y, 0); in rtx_equal_p_cb()
469 if ((XSTR (x, i) || XSTR (y, i)) in rtx_equal_p_cb()
470 && (! XSTR (x, i) || ! XSTR (y, i) in rtx_equal_p_cb()
471 || strcmp (XSTR (x, i), XSTR (y, i)))) in rtx_equal_p_cb()
536 return XSTR (x, 0) == XSTR (y, 0); in rtx_equal_p()
607 if ((XSTR (x, i) || XSTR (y, i)) in rtx_equal_p()
608 && (! XSTR (x, i) || ! XSTR (y, i) in rtx_equal_p()
609 || strcmp (XSTR (x, i), XSTR (y, i)))) in rtx_equal_p()
655 if (XSTR (x, 0)) in iterative_hash_rtx()
656 return iterative_hash (XSTR (x, 0), strlen (XSTR (x, 0)) + 1, in iterative_hash_rtx()
[all …]
HDgenpeep.c98 if (XSTR (peep, 1) && XSTR (peep, 1)[0]) in gen_peephole()
100 XSTR (peep, 1), insn_code_number); in gen_peephole()
154 if (XSTR (x, 1) && XSTR (x, 1)[0]) in match_rtx()
156 XSTR (x, 1), GET_MODE_NAME (GET_MODE (x)), fail_label); in match_rtx()
198 if (XSTR (x, 1) && XSTR (x, 1)[0]) in match_rtx()
200 XSTR (x, 1), GET_MODE_NAME (GET_MODE (x)), fail_label); in match_rtx()
222 if (XSTR (x, 1) && XSTR (x, 1)[0]) in match_rtx()
224 XSTR (x, 1), GET_MODE_NAME (GET_MODE (x)), fail_label); in match_rtx()
314 i, XSTR (x, i), fail_label); in match_rtx()
HDgenpreds.c66 for (p = XSTR (exp, 1); *p; p++) in validate_exp()
71 "string '%s'", name, XSTR (exp, 1)); in validate_exp()
96 validate_exp (XEXP (defn, 1), XSTR (defn, 0), lineno); in process_define_predicate()
146 XSTR (match_test_exp, 0) = match_test_str; in write_predicate_subfunction()
201 const char *p = XSTR (exp, 0); in needs_variable()
237 struct pred_data *p = lookup_predicate (XSTR (exp, 1)); in mark_mode_tests()
239 error ("reference to undefined predicate '%s'", XSTR (exp, 1)); in mark_mode_tests()
246 if (XSTR (exp, 1)[0] != '\0' in mark_mode_tests()
247 || (!strstr (XSTR (exp, 0), "const_int") in mark_mode_tests()
248 && !strstr (XSTR (exp, 0), "const_double"))) in mark_mode_tests()
[all …]
HDgenemit.c241 printf ("\"%s\"", XSTR (x, i)); in gen_exp()
348 if (XSTR (insn, 0)[0] == 0 || XSTR (insn, 0)[0] == '*') in gen_insn()
359 printf ("rtx\ngen_%s (", XSTR (insn, 0)); in gen_insn()
405 if (strlen (XSTR (expand, 0)) == 0) in gen_expand()
408 fatal ("define_expand for %s lacks a pattern", XSTR (expand, 0)); in gen_expand()
414 printf ("rtx\ngen_%s (", XSTR (expand, 0)); in gen_expand()
429 if ((XSTR (expand, 3) == 0 || *XSTR (expand, 3) == '\0') in gen_expand()
454 if (XSTR (expand, 3) && *XSTR (expand, 3)) in gen_expand()
466 print_md_ptr_loc (XSTR (expand, 3)); in gen_expand()
467 printf ("%s\n", XSTR (expand, 3)); in gen_expand()
[all …]
HDgenflags.c132 const char *name = XSTR (insn, 0); in gen_proto()
133 int truth = maybe_eval_c_test (XSTR (insn, 2)); in gen_proto()
193 const char *name = XSTR (insn, 0); in gen_insn()
197 int truth = maybe_eval_c_test (XSTR (insn, 2)); in gen_insn()
237 for (p = XSTR (insn, 2); *p; p++) in gen_insn()
HDgenattr-common.c45 p = XSTR (attr, 1); in gen_attr()
48 printf ("enum attr_%s {", XSTR (attr, 0)); in gen_attr()
52 write_upcase (XSTR (attr, 0)); in gen_attr()
HDgenconditions.c236 add_c_test (XSTR (desc, 2), -1); in main()
239 if (!strcmp (XSTR (desc, 0), "eh_return")) in main()
246 add_c_test (XSTR (desc, 1), -1); in main()
HDread-rtl.c363 XSTR (x, i) = apply_iterator_to_string (XSTR (x, i), iterator, value); in apply_iterator_to_rtx()
449 XSTR (x, 2) = add_condition_to_string (XSTR (x, 2), extra); in add_condition_to_rtx()
456 XSTR (x, 1) = add_condition_to_string (XSTR (x, 1), extra); in add_condition_to_rtx()
460 XSTR (x, 2) = add_condition_to_string (XSTR (x, 2), extra); in add_condition_to_rtx()
461 XSTR (x, 4) = add_condition_to_string (XSTR (x, 4), extra); in add_condition_to_rtx()
998 XSTR (return_rtx, i) = (format_ptr[i] == 'S' ? NULL : ""); in read_rtx_code()
1035 XSTR (return_rtx, i) = stringbuf; in read_rtx_code()
/dragonfly/contrib/gcc-8.0/gcc/
HDgensupport.c265 if (XSTR (exp, 1)[0] != '\0') in compute_test_codes()
273 const char *next_code = XSTR (exp, 0); in compute_test_codes()
317 struct pred_data *p = lookup_predicate (XSTR (exp, 1)); in compute_test_codes()
321 XSTR (exp, 1)); in compute_test_codes()
373 if (!valid_predicate_name_p (XSTR (desc, 0))) in process_define_predicate()
376 XSTR (desc, 0)); in process_define_predicate()
381 pred->name = XSTR (desc, 0); in process_define_predicate()
383 pred->c_block = XSTR (desc, 2); in process_define_predicate()
444 XSTR (t1, 0) = name; in add_define_attr()
445 XSTR (t1, 1) = "no,yes"; in add_define_attr()
[all …]
HDgenattr.c45 printf ("#define HAVE_ATTR_%s 1\n", XSTR (attr, 0)); in gen_attr()
50 XSTR (attr, 1), XSTR (attr, 0), in gen_attr()
54 p = XSTR (attr, 1); in gen_attr()
56 printf ("extern int get_attr_%s (%s);\n", XSTR (attr, 0), in gen_attr()
60 XSTR (attr, 0), XSTR (attr, 0), in gen_attr()
66 if (! strcmp (XSTR (attr, 0), "length")) in gen_attr()
95 return strcmp (XSTR (exp, 0), name) == 0; in check_tune_attr()
119 if (strcmp (XSTR (exp, 0), "alternative") == 0) in find_tune_attr()
123 if (strcmp (XSTR (attr, 0), XSTR (exp, 0)) == 0) in find_tune_attr()
129 if (! check_tune_attr (XSTR (attr, 0), XEXP (resv, 2))) in find_tune_attr()
HDgenattrtab.c458 && XSTR (h->u.rtl, 0) == arg0) in attr_rtx_1()
465 XSTR (rt_val, 0) = arg0; in attr_rtx_1()
484 && XSTR (h->u.rtl, 0) == arg0 in attr_rtx_1()
485 && XSTR (h->u.rtl, 1) == arg1) in attr_rtx_1()
492 XSTR (rt_val, 0) = arg0; in attr_rtx_1()
493 XSTR (rt_val, 1) = arg1; in attr_rtx_1()
553 XSTR (rt_val, i) = va_arg (p, char *); in attr_rtx_1()
621 return XSTR (make_numeric_value (n), 0); in attr_numeral()
693 if (XSTR (exp, 1)[0] == '!') in check_attr_test()
696 attr_eq (XSTR (exp, 0), in check_attr_test()
[all …]
HDgenpeep.c90 if (XSTR (peep, 1) && XSTR (peep, 1)[0]) in gen_peephole()
92 XSTR (peep, 1), info->index); in gen_peephole()
145 if (XSTR (x, 1) && XSTR (x, 1)[0]) in match_rtx()
147 XSTR (x, 1), GET_MODE_NAME (GET_MODE (x)), fail_label); in match_rtx()
189 if (XSTR (x, 1) && XSTR (x, 1)[0]) in match_rtx()
191 XSTR (x, 1), GET_MODE_NAME (GET_MODE (x)), fail_label); in match_rtx()
213 if (XSTR (x, 1) && XSTR (x, 1)[0]) in match_rtx()
215 XSTR (x, 1), GET_MODE_NAME (GET_MODE (x)), fail_label); in match_rtx()
307 i, XSTR (x, i), fail_label); in match_rtx()
HDgenemit.c245 printf ("\"%s\"", XSTR (x, i)); in gen_exp()
403 if (XSTR (insn, 0)[0] == 0 || XSTR (insn, 0)[0] == '*') in gen_insn()
414 printf ("rtx\ngen_%s (", XSTR (insn, 0)); in gen_insn()
449 if (strlen (XSTR (expand, 0)) == 0) in gen_expand()
453 XSTR (expand, 0)); in gen_expand()
460 "numbers above all other operands", XSTR (expand, 0)); in gen_expand()
463 printf ("rtx\ngen_%s (", XSTR (expand, 0)); in gen_expand()
478 if ((XSTR (expand, 3) == 0 || *XSTR (expand, 3) == '\0') in gen_expand()
501 if (XSTR (expand, 3) && *XSTR (expand, 3)) in gen_expand()
515 if (find_optab (&p, XSTR (expand, 0))) in gen_expand()
[all …]
HDrtlhash.c63 if (XSTR (x, 0)) in add_rtx()
64 hstate.add (XSTR (x, 0), strlen (XSTR (x, 0)) + 1); in add_rtx()
105 if (XSTR (x, i)) in add_rtx()
106 hstate.add (XSTR (x, 0), strlen (XSTR (x, 0)) + 1); in add_rtx()
HDrtl.c455 return XSTR (x, 0) == XSTR (y, 0); in rtx_equal_p_cb()
530 if ((XSTR (x, i) || XSTR (y, i)) in rtx_equal_p_cb()
531 && (! XSTR (x, i) || ! XSTR (y, i) in rtx_equal_p_cb()
532 || strcmp (XSTR (x, i), XSTR (y, i)))) in rtx_equal_p_cb()
597 return XSTR (x, 0) == XSTR (y, 0); in rtx_equal_p()
671 if ((XSTR (x, i) || XSTR (y, i)) in rtx_equal_p()
672 && (! XSTR (x, i) || ! XSTR (y, i) in rtx_equal_p()
673 || strcmp (XSTR (x, i), XSTR (y, i)))) in rtx_equal_p()
HDgenpreds.c67 for (p = XSTR (exp, 1); *p; p++) in validate_exp()
72 "string '%s'", name, XSTR (exp, 1)); in validate_exp()
96 validate_exp (XEXP (info->def, 1), XSTR (info->def, 0), info->loc); in process_define_predicate()
146 XSTR (match_test_exp, 0) = match_test_str; in write_predicate_subfunction()
201 const char *p = XSTR (exp, 0); in needs_variable()
237 struct pred_data *p = lookup_predicate (XSTR (exp, 1)); in mark_mode_tests()
239 error ("reference to undefined predicate '%s'", XSTR (exp, 1)); in mark_mode_tests()
293 && strchr (XSTR (exp, 0), ','); in generate_switch_p()
356 XSTR (match_test_exp, 0) = ("mode == VOIDmode || GET_MODE (op) == mode" in add_mode_tests()
359 XSTR (match_test_exp, 0) = "mode == VOIDmode || GET_MODE (op) == mode"; in add_mode_tests()
[all …]
HDgenflags.c103 const char *name = XSTR (insn, 0); in gen_proto()
104 int truth = maybe_eval_c_test (XSTR (insn, 2)); in gen_proto()
146 const char *name = XSTR (insn, 0); in gen_insn()
150 int truth = maybe_eval_c_test (XSTR (insn, 2)); in gen_insn()
187 for (p = XSTR (insn, 2); *p; p++) in gen_insn()
HDread-rtl.c259 if (strcmp (XSTR (attrs_vec->elem[i], 0), current_iterator_name) == 0) in apply_subst_iterator()
268 XSTR (new_attr, 0) = xstrdup (current_iterator_name); in apply_subst_iterator()
269 XSTR (new_attr, 1) = xstrdup ("yes"); in apply_subst_iterator()
446 while (XSTR (x, i) != (p = apply_iterator_to_string (XSTR (x, i)))) in copy_rtx_for_iterators()
447 XSTR (x, i) = p; in copy_rtx_for_iterators()
495 XSTR (x, 2) = add_condition_to_string (XSTR (x, 2), extra); in add_condition_to_rtx()
502 XSTR (x, 1) = add_condition_to_string (XSTR (x, 1), extra); in add_condition_to_rtx()
506 XSTR (x, 2) = add_condition_to_string (XSTR (x, 2), extra); in add_condition_to_rtx()
507 XSTR (x, 4) = add_condition_to_string (XSTR (x, 4), extra); in add_condition_to_rtx()
999 XSTR (const_str, 0) = xstrdup ("no"); in add_define_attr_for_define_subst()
[all …]
HDgenattr-common.c45 p = XSTR (attr, 1); in gen_attr()
48 printf ("enum attr_%s {", XSTR (attr, 0)); in gen_attr()
52 write_upcase (XSTR (attr, 0)); in gen_attr()
HDgentarget-def.c43 return htab_hash_string (XSTR (x, 0)); in hash()
49 return strcmp (XSTR (x, 0), y) == 0; in equal()
179 const char *test = XSTR (insn, 2); in def_target_insn()
269 const char *name = XSTR (def, 0); in add_insn()
HDgencodes.c34 const char *name = XSTR (info->def, 0); in gen_insn()
35 int truth = maybe_eval_c_test (XSTR (info->def, 2)); in gen_insn()
HDgenoutput.c449 d->operand[opno].predicate = XSTR (part, 1); in scan_operands()
450 d->operand[opno].constraint = strip_whitespace (XSTR (part, 2)); in scan_operands()
471 d->operand[opno].constraint = strip_whitespace (XSTR (part, 1)); in scan_operands()
492 d->operand[opno].predicate = XSTR (part, 1); in scan_operands()
865 if (XSTR (insn, 0)[0]) in gen_insn()
866 d->name = XSTR (insn, 0); in gen_insn()
946 if (XSTR (insn, 0)[0]) in gen_expand()
947 d->name = XSTR (insn, 0); in gen_expand()
1088 const char *name = XSTR (exp, 0); in note_constraint()

1234