Home
last modified time | relevance | path

Searched refs:earlier_block (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_predicated_break.cpp88 bblock_t *earlier_block = if_block; in opt_predicated_break() local
90 earlier_block = if_block->prev(); in opt_predicated_break()
101 if (!earlier_block->ends_with_control_flow()) { in opt_predicated_break()
102 earlier_block->children.make_empty(); in opt_predicated_break()
103 earlier_block->add_successor(s->cfg->mem_ctx, jump_block); in opt_predicated_break()
111 if (earlier_block->can_combine_with(jump_block)) { in opt_predicated_break()
112 earlier_block->combine_with(jump_block); in opt_predicated_break()
114 block = earlier_block; in opt_predicated_break()
121 bblock_t *while_block = earlier_block->next(); in opt_predicated_break()
127 jump_inst->remove(earlier_block); in opt_predicated_break()
[all …]
Dbrw_dead_control_flow.cpp69 bblock_t *earlier_block = NULL, *later_block = NULL; in dead_control_flow_eliminate() local
72 earlier_block = if_block->prev(); in dead_control_flow_eliminate()
74 earlier_block = if_block; in dead_control_flow_eliminate()
85 assert((earlier_block == NULL) == (later_block == NULL)); in dead_control_flow_eliminate()
86 if (earlier_block && earlier_block->can_combine_with(later_block)) { in dead_control_flow_eliminate()
87 earlier_block->combine_with(later_block); in dead_control_flow_eliminate()
94 __next = earlier_block->next(); in dead_control_flow_eliminate()