Searched refs:then_discard (Results 1 – 2 of 2) sorted by relevance
123 ir_discard *then_discard = find_unconditional_discard(ir->then_instructions); in visit_enter() local126 if (then_discard == NULL && else_discard == NULL) in visit_enter()130 if (then_discard != NULL && else_discard != NULL) { in visit_enter()132 ir->replace_with(then_discard); in visit_enter()137 if (then_discard != NULL && !is_only_instruction(then_discard)) { in visit_enter()140 ir->then_instructions.push_tail(then_discard); in visit_enter()
167 ir_discard *then_discard = find_discard(ir->then_instructions); in visit_leave() local170 if (then_discard == NULL && else_discard == NULL) in visit_leave()185 if (then_discard != NULL) in visit_leave()186 replace_discard(mem_ctx, temp, then_discard); in visit_leave()191 ir_discard *discard = then_discard != NULL ? then_discard : else_discard; in visit_leave()