Home
last modified time | relevance | path

Searched refs:if_inst (Results 1 – 7 of 7) sorted by relevance

/third_party/mesa3d/src/intel/compiler/
Dbrw_dead_control_flow.cpp69 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate() local
78 if_inst->remove(if_block); in dead_control_flow_eliminate()
104 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate() local
110 if_inst->predicate_inverse = !if_inst->predicate_inverse; in dead_control_flow_eliminate()
Dbrw_predicated_break.cpp133 backend_instruction *if_inst = block->prev()->end(); in opt_predicated_break() local
134 if (if_inst->opcode != BRW_OPCODE_IF) in opt_predicated_break()
145 jump_inst->predicate = if_inst->predicate; in opt_predicated_break()
146 jump_inst->predicate_inverse = if_inst->predicate_inverse; in opt_predicated_break()
153 if_inst->remove(if_block); in opt_predicated_break()
Dbrw_fs_sel_peephole.cpp136 fs_inst *if_inst = (fs_inst *)block->end(); in opt_peephole_sel() local
137 if (if_inst->opcode != BRW_OPCODE_IF) in opt_peephole_sel()
191 .at(block, if_inst); in opt_peephole_sel()
213 set_predicate_inv(if_inst->predicate, if_inst->predicate_inverse, in opt_peephole_sel()
Dbrw_eu_emit.c1497 brw_inst *if_inst, brw_inst *else_inst) in convert_IF_ELSE_to_ADD() argument
1505 assert(if_inst != NULL && brw_inst_opcode(p->isa, if_inst) == BRW_OPCODE_IF); in convert_IF_ELSE_to_ADD()
1507 assert(brw_inst_exec_size(devinfo, if_inst) == BRW_EXECUTE_1); in convert_IF_ELSE_to_ADD()
1517 brw_inst_set_opcode(p->isa, if_inst, BRW_OPCODE_ADD); in convert_IF_ELSE_to_ADD()
1518 brw_inst_set_pred_inv(devinfo, if_inst, true); in convert_IF_ELSE_to_ADD()
1526 brw_inst_set_imm_ud(devinfo, if_inst, (else_inst - if_inst + 1) * 16); in convert_IF_ELSE_to_ADD()
1529 brw_inst_set_imm_ud(devinfo, if_inst, (next_inst - if_inst) * 16); in convert_IF_ELSE_to_ADD()
1538 brw_inst *if_inst, brw_inst *else_inst, brw_inst *endif_inst) in patch_IF_ELSE() argument
1557 assert(if_inst != NULL && brw_inst_opcode(p->isa, if_inst) == BRW_OPCODE_IF); in patch_IF_ELSE()
1564 brw_inst_set_exec_size(devinfo, endif_inst, brw_inst_exec_size(devinfo, if_inst)); in patch_IF_ELSE()
[all …]
Dbrw_vec4_generator.cpp1734 brw_inst *if_inst = brw_IF(p, BRW_EXECUTE_8); in generate_code() local
1735 brw_inst_set_pred_control(p->devinfo, if_inst, inst->predicate); in generate_code()
/third_party/mesa3d/src/compiler/glsl/
Dlower_discard_flow.cpp132 ir_if *if_inst = new(mem_ctx) ir_if(if_condition); in generate_discard_break() local
135 if_inst->then_instructions.push_tail(br); in generate_discard_break()
137 return if_inst; in generate_discard_break()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_program_alu.c1161 struct rc_instruction * if_inst; in rc_transform_KILL() local
1167 for (if_inst = inst->Prev; if_inst != &c->Program.Instructions; in rc_transform_KILL()
1168 if_inst = if_inst->Prev) { in rc_transform_KILL()
1170 if (if_inst->U.I.Opcode == RC_OPCODE_IF) { in rc_transform_KILL()
1184 negate(absolute(if_inst->U.I.SrcReg[0])); in rc_transform_KILL()