Lines Matching refs:if_inst
1250 struct brw_instruction *if_inst, in convert_IF_ELSE_to_ADD() argument
1257 assert(if_inst != NULL && if_inst->header.opcode == BRW_OPCODE_IF); in convert_IF_ELSE_to_ADD()
1259 assert(if_inst->header.execution_size == BRW_EXECUTE_1); in convert_IF_ELSE_to_ADD()
1269 if_inst->header.opcode = BRW_OPCODE_ADD; in convert_IF_ELSE_to_ADD()
1270 if_inst->header.predicate_inverse = 1; in convert_IF_ELSE_to_ADD()
1278 if_inst->bits3.ud = (else_inst - if_inst + 1) * 16; in convert_IF_ELSE_to_ADD()
1281 if_inst->bits3.ud = (next_inst - if_inst) * 16; in convert_IF_ELSE_to_ADD()
1290 struct brw_instruction *if_inst, in patch_IF_ELSE() argument
1311 assert(if_inst != NULL && if_inst->header.opcode == BRW_OPCODE_IF); in patch_IF_ELSE()
1323 endif_inst->header.execution_size = if_inst->header.execution_size; in patch_IF_ELSE()
1331 if_inst->header.opcode = BRW_OPCODE_IFF; in patch_IF_ELSE()
1332 if_inst->bits3.if_else.jump_count = br * (endif_inst - if_inst + 1); in patch_IF_ELSE()
1333 if_inst->bits3.if_else.pop_count = 0; in patch_IF_ELSE()
1334 if_inst->bits3.if_else.pad0 = 0; in patch_IF_ELSE()
1337 if_inst->bits1.branch_gen6.jump_count = br * (endif_inst - if_inst); in patch_IF_ELSE()
1339 if_inst->bits3.break_cont.uip = br * (endif_inst - if_inst); in patch_IF_ELSE()
1340 if_inst->bits3.break_cont.jip = br * (endif_inst - if_inst); in patch_IF_ELSE()
1343 else_inst->header.execution_size = if_inst->header.execution_size; in patch_IF_ELSE()
1347 if_inst->bits3.if_else.jump_count = br * (else_inst - if_inst); in patch_IF_ELSE()
1348 if_inst->bits3.if_else.pop_count = 0; in patch_IF_ELSE()
1349 if_inst->bits3.if_else.pad0 = 0; in patch_IF_ELSE()
1351 if_inst->bits1.branch_gen6.jump_count = br * (else_inst - if_inst + 1); in patch_IF_ELSE()
1367 if_inst->bits3.break_cont.jip = br * (else_inst - if_inst + 1); in patch_IF_ELSE()
1369 if_inst->bits3.break_cont.uip = br * (endif_inst - if_inst); in patch_IF_ELSE()
1414 struct brw_instruction *if_inst = NULL; in brw_ENDIF() local
1448 if_inst = tmp; in brw_ENDIF()
1452 convert_IF_ELSE_to_ADD(p, if_inst, else_inst); in brw_ENDIF()
1484 patch_IF_ELSE(p, if_inst, else_inst, insn); in brw_ENDIF()