/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir.cpp | 183 for (int i = 0; insn->srcExists(i); ++i) { in mayReplace() 280 return !insn->srcExists(1) && insn->getSrc(0)->isUniform(); in isUniform() 623 for (int s = 0; srcExists(s); ++s) in ~Instruction() 693 for (k = 0; srcExists(k); ++k) { in moveSources() 777 for (int s = 0; srcExists(s); ++s) { in clone() 818 for (i = s--; srcExists(i); ++i) in srcCount() 823 for (n = 0, i = 0; this->srcExists(i); ++i, mask >>= 1) in srcCount() 831 assert(this->srcExists(s)); in setIndirect() 838 while (p > 0 && !srcExists(p - 1)) in setIndirect() 862 while (predSrc > 0 && !srcExists(predSrc - 1)) in setPredicate() [all …]
|
D | nv50_ir_emit_nv50.cpp | 296 if (i->srcExists(s)) { in setAReg16() 505 assert(!i->srcExists(1) || !i->getIndirect(1, 0)); in emitForm_MAD() 506 assert(!i->srcExists(2) || !i->getIndirect(2, 0)); in emitForm_MAD() 508 } else if (i->srcExists(1) && i->getIndirect(1, 0)) { in emitForm_MAD() 509 assert(!i->srcExists(2) || !i->getIndirect(2, 0)); in emitForm_MAD() 565 assert(i->defExists(0) && i->srcExists(0)); in emitForm_IMM() 844 if (!i->srcExists(1) || i->predSrc == 1) in emitQUADOP() 865 assert(!i->srcExists(1)); in emitPFETCH() 867 if (i->srcExists(1)) { in emitPFETCH() 1119 if (s && i->srcExists(0)) in emitAADD() [all …]
|
D | nv50_ir_ra.cpp | 546 for (int s = cal->indirect ? 1 : 0; cal->srcExists(s); ++s) { in visit() 647 for (s = 0; i->srcExists(s); ++s) in buildLiveSets() 701 for (int s = 0; i->srcExists(s); ++s) { in visit() 725 for (int s = 0; i->srcExists(s); ++s) { in visit() 909 return insn->srcExists(1) && insn->src(1).getFile() == FILE_IMMEDIATE && in isShortRegOp() 1103 for (int c = 0; split ? insn->defExists(c) : insn->srcExists(c); ++c) { in makeCompound() 1133 for (c = 0; insn->srcExists(c); ++c) in doCoalesce() 1144 for (c = 0; insn->srcExists(c); ++c) in doCoalesce() 1148 if (insn->srcExists(1)) in doCoalesce() 1187 for (c = 0; insn->srcExists(c) && c != insn->predSrc; ++c) in doCoalesce() [all …]
|
D | nv50_ir_emit_gk110.cpp | 192 int r = insn->srcExists(s) ? SDATA(insn->src(s)).id : GK110_GPR_ZERO; in srcId() 383 for (int s = 0; s < sCount && i->srcExists(s); ++s) { in emitForm_L() 428 const bool imm = i->srcExists(1) && i->src(1).getFile() == FILE_IMMEDIATE; in emitForm_21() 431 if (i->srcExists(2) && i->src(2).getFile() == FILE_MEMORY_CONST) in emitForm_21() 446 for (int s = 0; s < 3 && i->srcExists(s); ++s) { in emitForm_21() 876 if (i->predSrc != 2 && i->srcExists(2)) { in emitLogicOp() 1264 return !i->next->srcExists(1) || !i->getDef(0)->interfers(i->next->getSrc(1)); in isNextIndependentTex() 1372 if (i->srcExists(src1) && i->src(src1).getFile() == FILE_IMMEDIATE) { in emitTEX() 1424 srcId((i->srcExists(1) && i->predSrc != 1) ? i->src(1) : i->src(0), 23); in emitQUADOP() 1477 if (i->srcExists(2) && (i->predSrc != 2)) { in emitBAR() [all …]
|
D | nv50_ir_peephole.cpp | 271 if (i->srcExists(1)) in visit() 274 for (int s = 0; i->srcExists(s); ++s) { in visit() 315 for (int s = 0; i->srcExists(s); ++s) { in visit() 415 if (i->srcExists(2) && in visit() 421 if (i->srcExists(1) && in visit() 425 if (i->srcExists(0) && i->src(0).getImmediate(src0)) { in visit() 429 if (i->srcExists(1) && i->src(1).getImmediate(src1)) { in visit() 433 if (i->srcExists(2) && i->src(2).getImmediate(src2)) in visit() 1385 if (si->srcExists(2)) in opnd() 1567 if (i->srcExists(1)) in opnd() [all …]
|
D | nv50_ir_target_gv100.cpp | 490 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()
|
D | nv50_ir_lowering_helper.cpp | 258 if (insn->srcExists(1)) in handleLogOp() 263 if (insn->srcExists(1)) { in handleLogOp()
|
D | nv50_ir_emit_nvc0.cpp | 185 int r = insn->srcExists(s) ? SDATA(insn->src(s)).id : 63; in srcId() 406 if (i->srcExists(2) && i->getSrc(2)->reg.file == FILE_MEMORY_CONST) in emitForm_A() 409 for (int s = 0; s < 3 && i->srcExists(s); ++s) { in emitForm_A() 485 for (int s = 1; s < 3 && i->srcExists(s); ++s) { in emitForm_S() 887 if (i->predSrc != 2 && i->srcExists(2)) { in emitLogicOp() 1310 return !i->next->srcExists(1) || !i->getDef(0)->interfers(i->next->getSrc(1)); in isNextIndependentTex() 1374 if (i->srcExists(src1) && i->src(src1).getFile() == FILE_IMMEDIATE) { in emitTEX() 1436 srcId((i->srcExists(1) && i->predSrc != 1) ? i->src(1) : i->src(0), 26); in emitQUADOP() 1453 if (i->srcExists(0) && i->src(0).getFile() == FILE_MEMORY_CONST) in emitFlow() 1499 assert(i->srcExists(0) && i->src(0).getFile() == FILE_MEMORY_CONST); in emitFlow() [all …]
|
D | nv50_ir_emit_gm107.cpp | 550 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() 2772 if (insn->srcExists(src1)) in emitTEXs() 2954 if (insn->srcExists(1)) in emitTEXS() 3192 if (insn->srcExists(2) && (insn->predSrc != 2)) { in emitBAR() 3888 for (int s = 0; insn->srcExists(s); s++) { in setReuseFlag() [all …]
|
D | nv50_ir_lowering_gv100.cpp | 75 if (i->srcExists(2) && in handleIMAD_HIGH() 174 Value *src2 = i->srcExists(2) ? i->getSrc(2) : NULL; in handleSET() 402 Value *src2 = i->srcExists(2) ? i->getSrc(2) : NULL; in handlePINTERP()
|
D | nv50_ir_lowering_nv50.cpp | 248 for (int s = 0; i->srcExists(s); ++s) { in replaceZero() 374 for (int s = 0; di->srcExists(s); ++s) in propagateWriteToOutput() 421 if (i->srcExists(1) && i->src(1).getFile() == FILE_IMMEDIATE) { in handleAddrDef() 429 for (int s = 0; i->srcExists(s); ++s) { in handleAddrDef() 471 for (int s = 2; add->srcExists(s); ++s) in handleMUL() 800 for (; i->srcExists(c + 1); ++c) in handleTEX() 1347 if (i->srcExists(1)) { in handlePFETCH()
|
D | nv50_ir_lowering_gm107.cpp | 51 if (i->src(0).getFile() == FILE_GPR && !i->srcExists(1)) in handlePFETCH() 57 if (i->srcExists(1)) in handlePFETCH()
|
D | nv50_ir_target_nv50.cpp | 370 for (int z = 0; i->srcExists(z); ++z) in insnCanLoad() 498 for (int s = 0; insn->srcExists(s); ++s) in mayPredicate()
|
D | nv50_ir_ssa.cpp | 246 for (int s = 0; i->srcExists(s); ++s) in buildLiveSetsPreSSA() 479 for (s = 0; stmt->srcExists(s); ++s) { in search()
|
D | nv50_ir_inlines.h | 330 for (int i = 0; obj->srcExists(i); ++i) in cloneForward()
|
D | nv50_ir_emit_gv100.cpp | 735 emitPRED (68, insn->srcExists(3) ? insn->src(3) : insn->src(2)); in emitISETP() 1149 if (insn->srcExists(src1)) in emitTEXs() 1559 if (insn->srcExists(2) && (insn->predSrc != 2)) { in emitBAR()
|
D | nv50_ir_lowering_nvc0.cpp | 52 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() 1123 if (i->srcExists(s)) // move potential predicate out of the way in handleTEX() 1125 if (i->tex.useOffsets == 4 && i->srcExists(s + 1)) in handleTEX() 1326 while (txd->srcExists(arg)) in handleTXD() 1347 if (txd->srcExists(s)) // move potential predicate out of the way in handleTXD() 2882 if (i->srcExists(1)) { in handleRDSV()
|
D | nv50_ir_target_nvc0.cpp | 374 for (int k = 0; i->srcExists(k); ++k) { in insnCanLoad()
|
D | nv50_ir_print.cpp | 727 for (s = 0; srcExists(s); ++s) { in print()
|
D | nv50_ir.h | 860 inline bool srcExists(unsigned s) const in srcExists() function
|