Lines Matching defs:affinity
34 uint64_t *affinity;
70 l->affinity = calloc(sizeof(l->affinity[0]), node_count);
84 free(l->affinity);
165 if (l->affinity[step] == 0) continue;
169 u_foreach_bit64(r, l->affinity[step]) {
208 /* Construct an affinity mask such that the vector with `count` elements does
217 * EVEN_BITS_MASK is an affinity mask for aligned register pairs. Interpreted
263 * preloaded register. The affinity is the intersection
264 * of affinity masks for each write. Since writes have
265 * offsets, but the affinity is for the whole node, we
266 * need to offset the affinity opposite the write
270 uint64_t affinity = bi_make_affinity(preload_live, count, split_file) >> offset;
273 affinity &= EVEN_BITS_MASK;
275 l->affinity[node] &= affinity;
313 l->affinity[node] &= EVEN_BITS_MASK;
324 l->affinity[i] &= ~clobber;
379 l->affinity[dest] = default_affinity;
426 * to the restricted affinity induced by the blend shader ABI.
438 uint64_t affinity = l->affinity[node];
442 affinity |= BITFIELD64_BIT(48);
443 affinity |= BITFIELD64_BIT(60);
447 if (affinity & BITFIELD64_BIT(reg)) {