Lines Matching refs:b2
58 static uint32_t ir_gcm_find_lca(ir_ctx *ctx, uint32_t b1, uint32_t b2) in ir_gcm_find_lca() argument
62 dom_depth = ctx->cfg_blocks[b2].dom_depth; in ir_gcm_find_lca()
67 while (ctx->cfg_blocks[b2].dom_depth > dom_depth) { in ir_gcm_find_lca()
68 b2 = ctx->cfg_blocks[b2].dom_parent; in ir_gcm_find_lca()
70 while (b1 != b2) { in ir_gcm_find_lca()
72 b2 = ctx->cfg_blocks[b2].dom_parent; in ir_gcm_find_lca()
74 return b2; in ir_gcm_find_lca()
478 static bool ir_gcm_dominates(ir_ctx *ctx, uint32_t b1, uint32_t b2) in ir_gcm_dominates() argument
481 const ir_block *bb2 = &ctx->cfg_blocks[b2]; in ir_gcm_dominates()
484 b2 = bb2->dom_parent; in ir_gcm_dominates()
485 bb2 = &ctx->cfg_blocks[b2]; in ir_gcm_dominates()
487 return b1 == b2; in ir_gcm_dominates()
740 ir_hashtab_bucket *b1, *b2; in ir_xlat_binding() local
749 b2 = binding->data; in ir_xlat_binding()
755 b2->key = key; in ir_xlat_binding()
758 b2->val = _xlat[b1->val]; in ir_xlat_binding()
760 b2->val = b1->val; in ir_xlat_binding()
763 b2->next = ((uint32_t*)binding->data)[key]; in ir_xlat_binding()
766 b2++; in ir_xlat_binding()