Home
last modified time | relevance | path

Searched refs:srcExists (Results 1 – 20 of 20) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir.cpp182 for (int i = 0; insn->srcExists(i); ++i) { in mayReplace()
279 return !insn->srcExists(1) && insn->getSrc(0)->isUniform(); in isUniform()
625 for (int s = 0; srcExists(s); ++s) in ~Instruction()
695 for (k = 0; srcExists(k); ++k) { in moveSources()
779 for (int s = 0; srcExists(s); ++s) { in clone()
820 for (i = s--; srcExists(i); ++i) in srcCount()
825 for (n = 0, i = 0; this->srcExists(i); ++i, mask >>= 1) in srcCount()
833 assert(this->srcExists(s)); in setIndirect()
840 while (p > 0 && !srcExists(p - 1)) in setIndirect()
864 while (predSrc > 0 && !srcExists(predSrc - 1)) in setPredicate()
[all …]
Dnv50_ir_emit_nv50.cpp294 if (i->srcExists(s)) { in setAReg16()
503 assert(!i->srcExists(1) || !i->getIndirect(1, 0)); in emitForm_MAD()
504 assert(!i->srcExists(2) || !i->getIndirect(2, 0)); in emitForm_MAD()
506 } else if (i->srcExists(1) && i->getIndirect(1, 0)) { in emitForm_MAD()
507 assert(!i->srcExists(2) || !i->getIndirect(2, 0)); in emitForm_MAD()
563 assert(i->defExists(0) && i->srcExists(0)); in emitForm_IMM()
851 if (!i->srcExists(1) || i->predSrc == 1) in emitQUADOP()
872 assert(!i->srcExists(1)); in emitPFETCH()
874 if (i->srcExists(1)) { in emitPFETCH()
1127 if (s && i->srcExists(0)) in emitAADD()
[all …]
Dnv50_ir_ra.cpp547 for (int s = cal->indirect ? 1 : 0; cal->srcExists(s); ++s) { in visit()
648 for (s = 0; i->srcExists(s); ++s) in buildLiveSets()
702 for (int s = 0; i->srcExists(s); ++s) { in visit()
726 for (int s = 0; i->srcExists(s); ++s) { in visit()
910 return insn->srcExists(1) && insn->src(1).getFile() == FILE_IMMEDIATE && in isShortRegOp()
1104 for (int c = 0; split ? insn->defExists(c) : insn->srcExists(c); ++c) { in makeCompound()
1134 for (c = 0; insn->srcExists(c); ++c) in doCoalesce()
1145 for (c = 0; insn->srcExists(c); ++c) in doCoalesce()
1149 if (insn->srcExists(1)) in doCoalesce()
1188 for (c = 0; insn->srcExists(c) && c != insn->predSrc; ++c) in doCoalesce()
[all …]
Dnv50_ir_emit_gk110.cpp190 int r = insn->srcExists(s) ? SDATA(insn->src(s)).id : GK110_GPR_ZERO; in srcId()
381 for (int s = 0; s < sCount && i->srcExists(s); ++s) { in emitForm_L()
426 const bool imm = i->srcExists(1) && i->src(1).getFile() == FILE_IMMEDIATE; in emitForm_21()
429 if (i->srcExists(2) && i->src(2).getFile() == FILE_MEMORY_CONST) in emitForm_21()
444 for (int s = 0; s < 3 && i->srcExists(s); ++s) { in emitForm_21()
874 if (i->predSrc != 2 && i->srcExists(2)) { in emitLogicOp()
1271 return !i->next->srcExists(1) || !i->getDef(0)->interfers(i->next->getSrc(1)); in isNextIndependentTex()
1379 if (i->srcExists(src1) && i->src(src1).getFile() == FILE_IMMEDIATE) { in emitTEX()
1431 srcId((i->srcExists(1) && i->predSrc != 1) ? i->src(1) : i->src(0), 23); in emitQUADOP()
1484 if (i->srcExists(2) && (i->predSrc != 2)) { in emitBAR()
[all …]
Dnv50_ir_peephole.cpp271 if (i->srcExists(1)) in visit()
274 for (int s = 0; i->srcExists(s); ++s) { in visit()
317 for (int s = 0; i->srcExists(s); ++s) { in visit()
418 if (i->srcExists(2) && in visit()
424 if (i->srcExists(1) && in visit()
428 if (i->srcExists(0) && i->src(0).getImmediate(src0)) { in visit()
432 if (i->srcExists(1) && i->src(1).getImmediate(src1)) { in visit()
436 if (i->srcExists(2) && i->src(2).getImmediate(src2)) in visit()
1391 if (si->srcExists(2)) in opnd()
1584 if (i->srcExists(1)) in opnd()
[all …]
Dnv50_ir_target_gv100.cpp490 if ((s == 1 && i->srcExists(2) && i->src(2).getFile() != FILE_GPR) || in insnCanLoad()
491 (s == 2 && i->srcExists(1) && i->src(1).getFile() != FILE_GPR)) { in insnCanLoad()
496 ((s == 0 && i->srcExists(1) && i->src(1).getFile() != FILE_GPR) || in insnCanLoad()
497 (s == 1 && i->srcExists(0) && i->src(0).getFile() != FILE_GPR))) { in insnCanLoad()
Dnv50_ir_lowering_helper.cpp258 if (insn->srcExists(1)) in handleLogOp()
263 if (insn->srcExists(1)) { in handleLogOp()
Dnv50_ir_emit_nvc0.cpp183 int r = insn->srcExists(s) ? SDATA(insn->src(s)).id : 63; in srcId()
404 if (i->srcExists(2) && i->getSrc(2)->reg.file == FILE_MEMORY_CONST) in emitForm_A()
407 for (int s = 0; s < 3 && i->srcExists(s); ++s) { in emitForm_A()
483 for (int s = 1; s < 3 && i->srcExists(s); ++s) { in emitForm_S()
885 if (i->predSrc != 2 && i->srcExists(2)) { in emitLogicOp()
1317 return !i->next->srcExists(1) || !i->getDef(0)->interfers(i->next->getSrc(1)); in isNextIndependentTex()
1381 if (i->srcExists(src1) && i->src(src1).getFile() == FILE_IMMEDIATE) { in emitTEX()
1443 srcId((i->srcExists(1) && i->predSrc != 1) ? i->src(1) : i->src(0), 26); in emitQUADOP()
1460 if (i->srcExists(0) && i->src(0).getFile() == FILE_MEMORY_CONST) in emitFlow()
1506 assert(i->srcExists(0) && i->src(0).getFile() == FILE_MEMORY_CONST); in emitFlow()
[all …]
Dnv50_ir_emit_gm107.cpp550 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) { in emitBRA()
575 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) { in emitCAL()
600 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) { in emitPCNT()
622 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) { in emitPBK()
644 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) { in emitPRET()
666 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) { in emitSSY()
2781 if (insn->srcExists(src1)) in emitTEXs()
2963 if (insn->srcExists(1)) in emitTEXS()
3201 if (insn->srcExists(2) && (insn->predSrc != 2)) { in emitBAR()
3897 for (int s = 0; insn->srcExists(s); s++) { in setReuseFlag()
[all …]
Dnv50_ir_lowering_gv100.cpp75 if (i->srcExists(2) && in handleIMAD_HIGH()
178 Value *src2 = i->srcExists(2) ? i->getSrc(2) : NULL; in handleSET()
406 Value *src2 = i->srcExists(2) ? i->getSrc(2) : NULL; in handlePINTERP()
Dnv50_ir_lowering_gm107.cpp51 if (i->src(0).getFile() == FILE_GPR && !i->srcExists(1)) in handlePFETCH()
57 if (i->srcExists(1)) in handlePFETCH()
Dnv50_ir_target_nv50.cpp380 for (int z = 0; i->srcExists(z); ++z) in insnCanLoad()
509 for (int s = 0; insn->srcExists(s); ++s) in mayPredicate()
Dnv50_ir_ssa.cpp246 for (int s = 0; i->srcExists(s); ++s) in buildLiveSetsPreSSA()
479 for (s = 0; stmt->srcExists(s); ++s) { in search()
Dnv50_ir_inlines.h330 for (int i = 0; obj->srcExists(i); ++i) in cloneForward()
Dnv50_ir_lowering_nv50.cpp271 for (int s = 0; i->srcExists(s); ++s) { in replaceZero()
397 for (int s = 0; di->srcExists(s); ++s) in propagateWriteToOutput()
444 if (i->srcExists(1) && i->src(1).getFile() == FILE_IMMEDIATE) { in handleAddrDef()
452 for (int s = 0; i->srcExists(s); ++s) { in handleAddrDef()
494 for (int s = 2; add->srcExists(s); ++s) in handleMUL()
854 for (; i->srcExists(c + 1); ++c) in handleTEX()
2144 if (i->srcExists(1)) { in handlePFETCH()
Dnv50_ir_lowering_nvc0.cpp52 for (int s = 0; i->srcExists(s); ++s) { in handleDIV()
476 for (int s = 0; insn->srcExists(s); ++s) { in findFirstUsesBB()
707 for (int s = 0; i->srcExists(s); ++s) { in replaceZero()
1124 if (i->srcExists(s)) // move potential predicate out of the way in handleTEX()
1126 if (i->tex.useOffsets == 4 && i->srcExists(s + 1)) in handleTEX()
1327 while (txd->srcExists(arg)) in handleTXD()
1348 if (txd->srcExists(s)) // move potential predicate out of the way in handleTXD()
2971 if (i->srcExists(1)) { in handleRDSV()
Dnv50_ir_emit_gv100.cpp775 emitPRED (68, insn->srcExists(3) ? insn->src(3) : insn->src(2)); in emitISETP()
1190 if (insn->srcExists(src1)) in emitTEXs()
1600 if (insn->srcExists(2) && (insn->predSrc != 2)) { in emitBAR()
Dnv50_ir_target_nvc0.cpp378 for (int k = 0; i->srcExists(k); ++k) { in insnCanLoad()
Dnv50_ir_print.cpp756 for (s = 0; srcExists(s); ++s) { in print()
Dnv50_ir.h886 inline bool srcExists(unsigned s) const in srcExists() function