Searched refs:srcExists (Results 1 - 25 of 37) sorted by relevance

12

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir.cpp183 for (int i = 0; insn->srcExists(i); ++i) {
278 return !insn->srcExists(1) && insn->getSrc(0)->isUniform();
621 for (int s = 0; srcExists(s); ++s)
691 for (k = 0; srcExists(k); ++k) {
775 for (int s = 0; srcExists(s); ++s) {
816 for (i = s--; srcExists(i); ++i)
821 for (n = 0, i = 0; this->srcExists(i); ++i, mask >>= 1)
829 assert(this->srcExists(s));
836 while (p > 0 && !srcExists(p - 1))
860 while (predSrc > 0 && !srcExists(predSr
[all...]
H A Dnv50_ir_lowering_helper.cpp258 if (insn->srcExists(1))
263 if (insn->srcExists(1)) {
H A Dnv50_ir_emit_gk110.cpp192 int r = insn->srcExists(s) ? SDATA(insn->src(s)).id : GK110_GPR_ZERO;
383 for (int s = 0; s < sCount && i->srcExists(s); ++s) {
428 const bool imm = i->srcExists(1) && i->src(1).getFile() == FILE_IMMEDIATE;
431 if (i->srcExists(2) && i->src(2).getFile() == FILE_MEMORY_CONST)
446 for (int s = 0; s < 3 && i->srcExists(s); ++s) {
876 if (i->predSrc != 2 && i->srcExists(2)) {
1264 return !i->next->srcExists(1) || !i->getDef(0)->interfers(i->next->getSrc(1));
1354 const int src1 = (i->predSrc == 1) ? 2 : 1; // if predSrc == 1, !srcExists(2)
1372 if (i->srcExists(src1) && i->src(src1).getFile() == FILE_IMMEDIATE) {
1424 srcId((i->srcExists(
[all...]
H A Dnv50_ir_emit_nv50.cpp296 if (i->srcExists(s)) {
505 assert(!i->srcExists(1) || !i->getIndirect(1, 0));
506 assert(!i->srcExists(2) || !i->getIndirect(2, 0));
508 } else if (i->srcExists(1) && i->getIndirect(1, 0)) {
509 assert(!i->srcExists(2) || !i->getIndirect(2, 0));
565 assert(i->defExists(0) && i->srcExists(0));
844 if (!i->srcExists(1) || i->predSrc == 1)
865 assert(!i->srcExists(1));
867 if (i->srcExists(1)) {
1119 if (s && i->srcExists(
[all...]
H A Dnv50_ir_ra.cpp502 for (int s = cal->indirect ? 1 : 0; cal->srcExists(s); ++s) {
603 for (s = 0; i->srcExists(s); ++s)
659 for (int s = 0; i->srcExists(s); ++s) {
683 for (int s = 0; i->srcExists(s); ++s) {
865 return insn->srcExists(1) && insn->src(1).getFile() == FILE_IMMEDIATE &&
1057 for (int c = 0; split ? insn->defExists(c) : insn->srcExists(c); ++c) {
1087 for (c = 0; insn->srcExists(c); ++c)
1098 for (c = 0; insn->srcExists(c); ++c)
1102 if (insn->srcExists(1))
1141 for (c = 0; insn->srcExists(
[all...]
H A Dnv50_ir_lowering_gm107.cpp51 if (i->src(0).getFile() == FILE_GPR && !i->srcExists(1))
57 if (i->srcExists(1))
H A Dnv50_ir_peephole.cpp271 if (i->srcExists(1))
274 for (int s = 0; i->srcExists(s); ++s) {
315 for (int s = 0; i->srcExists(s); ++s) {
415 if (i->srcExists(2) &&
421 if (i->srcExists(1) &&
425 if (i->srcExists(0) && i->src(0).getImmediate(src0)) {
429 if (i->srcExists(1) && i->src(1).getImmediate(src1)) {
433 if (i->srcExists(2) && i->src(2).getImmediate(src2))
1355 if (si->srcExists(2))
1531 if (i->srcExists(
[all...]
H A Dnv50_ir_emit_gm107.cpp546 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) {
571 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) {
596 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) {
618 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) {
640 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) {
662 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) {
2716 if (insn->srcExists(src1))
2898 if (insn->srcExists(1))
3136 if (insn->srcExists(2) && (insn->predSrc != 2)) {
3974 for (int s = 0; insn->srcExists(
[all...]
H A Dnv50_ir_lowering_nv50.cpp248 for (int s = 0; i->srcExists(s); ++s) {
374 for (int s = 0; di->srcExists(s); ++s)
421 if (i->srcExists(1) && i->src(1).getFile() == FILE_IMMEDIATE) {
429 for (int s = 0; i->srcExists(s); ++s) {
471 for (int s = 2; add->srcExists(s); ++s)
800 for (; i->srcExists(c + 1); ++c)
1347 if (i->srcExists(1)) {
H A Dnv50_ir_emit_nvc0.cpp185 int r = insn->srcExists(s) ? SDATA(insn->src(s)).id : 63;
406 if (i->srcExists(2) && i->getSrc(2)->reg.file == FILE_MEMORY_CONST)
409 for (int s = 0; s < 3 && i->srcExists(s); ++s) {
485 for (int s = 1; s < 3 && i->srcExists(s); ++s) {
887 if (i->predSrc != 2 && i->srcExists(2)) {
1310 return !i->next->srcExists(1) || !i->getDef(0)->interfers(i->next->getSrc(1));
1372 const int src1 = (i->predSrc == 1) ? 2 : 1; // if predSrc == 1, !srcExists(2)
1374 if (i->srcExists(src1) && i->src(src1).getFile() == FILE_IMMEDIATE) {
1419 const int src1 = (i->predSrc == 1) ? 2 : 1; // if predSrc == 1, !srcExists(2)
1436 srcId((i->srcExists(
[all...]
H A Dnv50_ir_ssa.cpp246 for (int s = 0; i->srcExists(s); ++s)
479 for (s = 0; stmt->srcExists(s); ++s) {
H A Dnv50_ir_target_nv50.cpp370 for (int z = 0; i->srcExists(z); ++z)
498 for (int s = 0; insn->srcExists(s); ++s)
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir.cpp182 for (int i = 0; insn->srcExists(i); ++i) {
279 return !insn->srcExists(1) && insn->getSrc(0)->isUniform();
625 for (int s = 0; srcExists(s); ++s)
695 for (k = 0; srcExists(k); ++k) {
779 for (int s = 0; srcExists(s); ++s) {
820 for (i = s--; srcExists(i); ++i)
825 for (n = 0, i = 0; this->srcExists(i); ++i, mask >>= 1)
833 assert(this->srcExists(s));
840 while (p > 0 && !srcExists(p - 1))
864 while (predSrc > 0 && !srcExists(predSr
[all...]
H A Dnv50_ir_lowering_helper.cpp258 if (insn->srcExists(1))
263 if (insn->srcExists(1)) {
H A Dnv50_ir_emit_gk110.cpp190 int r = insn->srcExists(s) ? SDATA(insn->src(s)).id : GK110_GPR_ZERO;
381 for (int s = 0; s < sCount && i->srcExists(s); ++s) {
426 const bool imm = i->srcExists(1) && i->src(1).getFile() == FILE_IMMEDIATE;
429 if (i->srcExists(2) && i->src(2).getFile() == FILE_MEMORY_CONST)
444 for (int s = 0; s < 3 && i->srcExists(s); ++s) {
874 if (i->predSrc != 2 && i->srcExists(2)) {
1271 return !i->next->srcExists(1) || !i->getDef(0)->interfers(i->next->getSrc(1));
1361 const int src1 = (i->predSrc == 1) ? 2 : 1; // if predSrc == 1, !srcExists(2)
1379 if (i->srcExists(src1) && i->src(src1).getFile() == FILE_IMMEDIATE) {
1431 srcId((i->srcExists(
[all...]
H A Dnv50_ir_emit_nv50.cpp294 if (i->srcExists(s)) {
503 assert(!i->srcExists(1) || !i->getIndirect(1, 0));
504 assert(!i->srcExists(2) || !i->getIndirect(2, 0));
506 } else if (i->srcExists(1) && i->getIndirect(1, 0)) {
507 assert(!i->srcExists(2) || !i->getIndirect(2, 0));
563 assert(i->defExists(0) && i->srcExists(0));
851 if (!i->srcExists(1) || i->predSrc == 1)
872 assert(!i->srcExists(1));
874 if (i->srcExists(1)) {
1127 if (s && i->srcExists(
[all...]
H A Dnv50_ir_ra.cpp547 for (int s = cal->indirect ? 1 : 0; cal->srcExists(s); ++s) {
648 for (s = 0; i->srcExists(s); ++s)
702 for (int s = 0; i->srcExists(s); ++s) {
726 for (int s = 0; i->srcExists(s); ++s) {
910 return insn->srcExists(1) && insn->src(1).getFile() == FILE_IMMEDIATE &&
1104 for (int c = 0; split ? insn->defExists(c) : insn->srcExists(c); ++c) {
1134 for (c = 0; insn->srcExists(c); ++c)
1145 for (c = 0; insn->srcExists(c); ++c)
1149 if (insn->srcExists(1))
1188 for (c = 0; insn->srcExists(
[all...]
H A Dnv50_ir_lowering_gv100.cpp75 if (i->srcExists(2) &&
178 Value *src2 = i->srcExists(2) ? i->getSrc(2) : NULL;
406 Value *src2 = i->srcExists(2) ? i->getSrc(2) : NULL;
H A Dnv50_ir_lowering_gm107.cpp51 if (i->src(0).getFile() == FILE_GPR && !i->srcExists(1))
57 if (i->srcExists(1))
H A Dnv50_ir_peephole.cpp271 if (i->srcExists(1))
274 for (int s = 0; i->srcExists(s); ++s) {
317 for (int s = 0; i->srcExists(s); ++s) {
418 if (i->srcExists(2) &&
424 if (i->srcExists(1) &&
428 if (i->srcExists(0) && i->src(0).getImmediate(src0)) {
432 if (i->srcExists(1) && i->src(1).getImmediate(src1)) {
436 if (i->srcExists(2) && i->src(2).getImmediate(src2))
1391 if (si->srcExists(2))
1584 if (i->srcExists(
[all...]
H A Dnv50_ir_emit_gm107.cpp550 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) {
575 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) {
600 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) {
622 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) {
644 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) {
666 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) {
2781 if (insn->srcExists(src1))
2963 if (insn->srcExists(1))
3201 if (insn->srcExists(2) && (insn->predSrc != 2)) {
3897 for (int s = 0; insn->srcExists(
[all...]
H A Dnv50_ir_target_gv100.cpp490 if ((s == 1 && i->srcExists(2) && i->src(2).getFile() != FILE_GPR) ||
491 (s == 2 && i->srcExists(1) && i->src(1).getFile() != FILE_GPR)) {
496 ((s == 0 && i->srcExists(1) && i->src(1).getFile() != FILE_GPR) ||
497 (s == 1 && i->srcExists(0) && i->src(0).getFile() != FILE_GPR))) {
H A Dnv50_ir_emit_nvc0.cpp183 int r = insn->srcExists(s) ? SDATA(insn->src(s)).id : 63;
404 if (i->srcExists(2) && i->getSrc(2)->reg.file == FILE_MEMORY_CONST)
407 for (int s = 0; s < 3 && i->srcExists(s); ++s) {
483 for (int s = 1; s < 3 && i->srcExists(s); ++s) {
885 if (i->predSrc != 2 && i->srcExists(2)) {
1317 return !i->next->srcExists(1) || !i->getDef(0)->interfers(i->next->getSrc(1));
1379 const int src1 = (i->predSrc == 1) ? 2 : 1; // if predSrc == 1, !srcExists(2)
1381 if (i->srcExists(src1) && i->src(src1).getFile() == FILE_IMMEDIATE) {
1426 const int src1 = (i->predSrc == 1) ? 2 : 1; // if predSrc == 1, !srcExists(2)
1443 srcId((i->srcExists(
[all...]
H A Dnv50_ir_ssa.cpp246 for (int s = 0; i->srcExists(s); ++s)
479 for (s = 0; stmt->srcExists(s); ++s) {
H A Dnv50_ir_target_nv50.cpp380 for (int z = 0; i->srcExists(z); ++z)
509 for (int s = 0; insn->srcExists(s); ++s)

Completed in 84 milliseconds

12