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()
480 static bool ir_gcm_dominates(ir_ctx *ctx, uint32_t b1, uint32_t b2) in ir_gcm_dominates() argument
483 const ir_block *bb2 = &ctx->cfg_blocks[b2]; in ir_gcm_dominates()
486 b2 = bb2->dom_parent; in ir_gcm_dominates()
487 bb2 = &ctx->cfg_blocks[b2]; in ir_gcm_dominates()
489 return b1 == b2; in ir_gcm_dominates()
742 ir_hashtab_bucket *b1, *b2; in ir_xlat_binding() local
751 b2 = binding->data; in ir_xlat_binding()
757 b2->key = key; in ir_xlat_binding()
760 b2->val = _xlat[b1->val]; in ir_xlat_binding()
762 b2->val = b1->val; in ir_xlat_binding()
765 b2->next = ((uint32_t*)binding->data)[key]; in ir_xlat_binding()
768 b2++; in ir_xlat_binding()