Lines Matching defs:index
461 bi_reg_from_index(bi_context *ctx, struct lcra_state *l, bi_index index)
463 /* Offsets can only be applied when we register allocated an index, or
466 ASSERTED bool is_offset = (index.offset > 0) &&
467 (index.type != BI_INDEX_FAU);
470 /* Did we run RA for this index at all */
471 if (bi_get_node(index) >= node_count) {
473 return index;
476 /* LCRA didn't bother solving this index (how lazy!) */
477 signed solution = l->solutions[bi_get_node(index)];
480 return index;
484 bi_index new_index = bi_register(solution + index.offset);
485 new_index.swizzle = index.swizzle;
486 new_index.abs = index.abs;
487 new_index.neg = index.neg;
612 bi_count_read_index(bi_instr *I, bi_index index)
617 if (bi_is_equiv(I->src[s], index)) {
662 bi_spill_register(bi_context *ctx, bi_index index, uint32_t offset)
670 if (!bi_is_equiv(I->dest[d], index)) continue;
688 if (bi_has_arg(I, index)) {
692 unsigned bits = bi_count_read_index(I, index) * 32;
693 bi_rewrite_index_src_single(I, index, tmp);