Lines Matching refs:iterators
59 /* For iterators, records the current value of the iterator. */
63 /* A structure for abstracting the common parts of iterators. */
66 iterators. */
67 htab_t attrs, iterators;
141 /* All iterators used in the current rtx. */
474 /* In contrast to code/mode/int iterators, attributes of subst
475 iterators are linked to one specific subst-iterator. So, if
665 /* A htab_traverse callback for iterators. Add all used iterators
730 each argument to ITERATORS. Return null otherwise. */
733 md_reader::handle_overloaded_name (rtx original, vec<mapping *> *iterators)
747 Add the iterator associated with each such attribute string to ITERATORS
785 iterators->safe_push (iterator);
829 /* Add an instance of ONAME for instruction pattern X. ITERATORS[I]
833 add_overload_instance (overloaded_name *oname, const vec<mapping *> &iterators, rtx x)
839 for (unsigned int i = 0; i < iterators.length (); ++i)
841 int value = iterators[i]->current_value->number;
842 const char *name = iterators[i]->group->get_c_token (value);
853 /* Expand all iterators in the current rtx, which is given as ORIGINAL.
872 fatal_with_file_and_line ("'@' used without iterators");
878 /* Clear out the iterators from the previous run. */
883 /* Mark the iterators that we need this time. */
887 /* Get the list of iterators that are in use, preserving the
889 htab_traverse (modes.iterators, add_current_iterators, NULL);
890 htab_traverse (codes.iterators, add_current_iterators, NULL);
891 htab_traverse (ints.iterators, add_current_iterators, NULL);
892 htab_traverse (substs.iterators, add_current_iterators, NULL);
896 auto_vec<mapping *, 16> iterators;
898 = rtx_reader_ptr->handle_overloaded_name (original, &iterators);
935 add_overload_instance (oname, iterators, x);
1011 modes.iterators = htab_create (13, leading_string_hash,
1019 codes.iterators = htab_create (13, leading_string_hash,
1027 ints.iterators = htab_create (13, leading_string_hash,
1035 substs.iterators = htab_create (13, leading_string_hash,
1211 m = (struct mapping *) htab_find (group->iterators, &name);
1339 m = (struct mapping *) htab_find (substs.iterators, &attr_operands[1]);
1424 read_mapping (&modes, modes.iterators);
1434 check_code_iterator (read_mapping (&codes, codes.iterators));
1444 read_mapping (&ints, ints.iterators);
1449 read_subst_mapping (substs.iterators, substs.attrs, rtxen);
1595 mapping *iterator = (mapping *) htab_find (codes.iterators, &name);
1973 m = (struct mapping *) htab_find (substs.iterators, &str);