Lines Matching defs:matches
1816 } *matches;
1819 * The number of elements in the \c matches array that are currently in
1825 * The number of elements that were set aside for the \c matches array when
1855 this->matches = (match *)
1856 malloc(sizeof(*this->matches) * this->matches_capacity);
1863 free(this->matches);
1951 this->matches = (match *)
1952 realloc(this->matches,
1953 sizeof(*this->matches) * this->matches_capacity);
1980 this->matches[this->num_matches].packing_class
1982 this->matches[this->num_matches].packing_order
1985 this->matches[this->num_matches].producer_var = producer_var;
1986 this->matches[this->num_matches].consumer_var = consumer_var;
1996 * Choose locations for all of the variable matches that were previously
2025 qsort(this->matches, this->num_matches, sizeof(*this->matches),
2029 qsort(this->matches, this->num_matches, sizeof(*this->matches),
2032 /* Sort varying matches into an order that makes them easy to pack. */
2033 qsort(this->matches, this->num_matches, sizeof(*this->matches),
2059 if (matches[i].consumer_var) {
2060 var = matches[i].consumer_var;
2065 var = matches[i].producer_var;
2091 (previous_packing_class != this->matches[i].packing_class) ||
2092 (this->matches[i].packing_order == PACKING_ORDER_VEC3 &&
2099 previous_packing_class = this->matches[i].packing_class;
2157 this->matches[i].generic_location = *location;
2180 ir_variable *producer_var = this->matches[i].producer_var;
2181 ir_variable *consumer_var = this->matches[i].consumer_var;
2182 unsigned generic_location = this->matches[i].generic_location;
2229 ir_variable *producer_var = this->matches[i].producer_var;
2230 ir_variable *consumer_var = this->matches[i].consumer_var;
2231 unsigned generic_location = this->matches[i].generic_location;
2590 * Find a variable from the consumer that "matches" the specified variable
2742 * each of these objects that matches one of the outputs of the
2796 varying_matches matches(disable_varying_packing,
2898 matches.record(output_var, input_var);
2920 matches.record(NULL, input_var);
3006 matches.record(matched_candidate->toplevel_var, NULL);
3011 const unsigned slots_used = matches.assign_locations(
3013 matches.store_locations();