• Home
  • Raw
  • Download

Lines Matching refs:scan_inst

1259       foreach_inst_in_block_reverse_starting_from(vec4_instruction, scan_inst,  in opt_register_coalesce()
1261 _scan_inst = scan_inst; in opt_register_coalesce()
1264 scan_inst->dst, scan_inst->size_written)) { in opt_register_coalesce()
1268 if (scan_inst->mlen) in opt_register_coalesce()
1275 if (scan_inst->is_math()) { in opt_register_coalesce()
1287 inst->dst.type != scan_inst->dst.type && in opt_register_coalesce()
1288 !(scan_inst->opcode == BRW_OPCODE_MOV && in opt_register_coalesce()
1289 scan_inst->dst.type == scan_inst->src[0].type)) in opt_register_coalesce()
1296 if (type_sz(inst->src[0].type) != type_sz(scan_inst->src[0].type)) in opt_register_coalesce()
1303 if (scan_inst->size_written != inst->size_written) in opt_register_coalesce()
1307 if (!scan_inst->can_reswizzle(devinfo, inst->dst.writemask, in opt_register_coalesce()
1317 if (DIV_ROUND_UP(scan_inst->size_written, in opt_register_coalesce()
1318 type_sz(scan_inst->dst.type)) > 8 || in opt_register_coalesce()
1319 scan_inst->dst.offset != inst->src[0].offset) in opt_register_coalesce()
1323 if (!scan_inst->predicate) in opt_register_coalesce()
1324 chans_remaining &= ~scan_inst->dst.writemask; in opt_register_coalesce()
1338 scan_inst->src[i], scan_inst->size_read(i))) in opt_register_coalesce()
1348 scan_inst->dst, scan_inst->size_written) && in opt_register_coalesce()
1349 (inst->dst.writemask & scan_inst->dst.writemask) != 0) { in opt_register_coalesce()
1357 if (to_mrf && scan_inst->mlen > 0) { in opt_register_coalesce()
1358 if (inst->dst.nr >= scan_inst->base_mrf && in opt_register_coalesce()
1359 inst->dst.nr < scan_inst->base_mrf + scan_inst->mlen) { in opt_register_coalesce()
1365 scan_inst->src[i], scan_inst->size_read(i))) in opt_register_coalesce()
1379 vec4_instruction *scan_inst = _scan_inst; in opt_register_coalesce() local
1380 while (scan_inst != inst) { in opt_register_coalesce()
1381 if (scan_inst->dst.file == VGRF && in opt_register_coalesce()
1382 scan_inst->dst.nr == inst->src[0].nr && in opt_register_coalesce()
1383 scan_inst->dst.offset == inst->src[0].offset) { in opt_register_coalesce()
1384 scan_inst->reswizzle(inst->dst.writemask, in opt_register_coalesce()
1386 scan_inst->dst.file = inst->dst.file; in opt_register_coalesce()
1387 scan_inst->dst.nr = inst->dst.nr; in opt_register_coalesce()
1388 scan_inst->dst.offset = inst->dst.offset; in opt_register_coalesce()
1390 inst->dst.type != scan_inst->dst.type) { in opt_register_coalesce()
1396 scan_inst->dst.type = inst->dst.type; in opt_register_coalesce()
1397 scan_inst->src[0].type = inst->src[0].type; in opt_register_coalesce()
1399 scan_inst->saturate |= inst->saturate; in opt_register_coalesce()
1401 scan_inst = (vec4_instruction *)scan_inst->next; in opt_register_coalesce()