Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir.cpp183 for (int i = 0; insn->srcExists(i); ++i) { in mayReplace()
278 return !insn->srcExists(1) && insn->getSrc(0)->isUniform(); in isUniform()
611 for (int s = 0; srcExists(s); ++s) in ~Instruction()
670 for (k = 0; srcExists(k); ++k) { in moveSources()
745 for (int s = 0; srcExists(s); ++s) { in clone()
786 for (i = s--; srcExists(i); ++i) in srcCount()
791 for (n = 0, i = 0; this->srcExists(i); ++i, mask >>= 1) in srcCount()
799 assert(this->srcExists(s)); in setIndirect()
806 while (p > 0 && !srcExists(p - 1)) in setIndirect()
830 while (predSrc > 0 && !srcExists(predSrc - 1)) in setPredicate()
[all …]
Dnv50_ir_ra.cpp397 for (int s = 0; cal->srcExists(s); ++s) { in visit()
497 for (s = 0; i->srcExists(s); ++s) in buildLiveSets()
553 for (int s = 0; i->srcExists(s); ++s) { in visit()
577 for (int s = 0; i->srcExists(s); ++s) { in visit()
886 for (int c = 0; split ? insn->defExists(c) : insn->srcExists(c); ++c) { in makeCompound()
916 for (c = 0; insn->srcExists(c); ++c) in doCoalesce()
927 for (c = 0; insn->srcExists(c); ++c) in doCoalesce()
931 if (insn->srcExists(1)) in doCoalesce()
968 for (c = 0; insn->srcExists(c) && c != insn->predSrc; ++c) in doCoalesce()
1626 for (int s = 0; merge->srcExists(s); ++s) { in resolveSplitsAndMerges()
[all …]
Dnv50_ir_peephole.cpp202 if (i->srcExists(1)) in visit()
205 for (int s = 0; i->srcExists(s); ++s) { in visit()
276 if (i->srcExists(1) && in visit()
280 if (i->srcExists(0) && i->src(0).getImmediate(src0)) in visit()
283 if (i->srcExists(1) && i->src(1).getImmediate(src1)) in visit()
853 for (int s = 0; s < 3 && i->srcExists(s); ++s) { in visit()
1554 for (s = 1; offSt != offLd && st->srcExists(s); ++s) in replaceLdFromSt()
1559 for (d = 0; ld->defExists(d) && st->srcExists(s); ++d, ++s) { in replaceLdFromSt()
1618 for (s = 1; st->srcExists(s); offS += st->getSrc(s)->reg.size, ++s) in replaceStFromSt()
1809 if (insn->op != OP_SET || insn->srcExists(2)) in isConstantCondition()
[all …]
Dnv50_ir_emit_nv50.cpp288 if (i->srcExists(s)) { in setAReg16()
537 assert(i->defExists(0) && i->srcExists(0)); in emitForm_IMM()
789 if (!i->srcExists(1)) in emitQUADOP()
958 if (s && i->srcExists(0)) in emitAADD()
1326 assert(i->srcExists(1) && i->src(1).getFile() == FILE_IMMEDIATE); in emitShift()
1749 for (int s = 0; i->srcExists(s); ++s) { in getMinEncodingSize()
1768 if (info.srcNr >= 2 && i->srcExists(2)) { in getMinEncodingSize()
1818 for (int s = 0; insn->srcExists(s); ++s) in trySetExitModifier()
Dnv50_ir_lowering_nv50.cpp156 for (int s = 0; i->srcExists(s); ++s) { in replaceZero()
291 for (int s = 0; di->srcExists(s); ++s) in propagateWriteToOutput()
321 if (i->srcExists(1) && i->src(1).getFile() == FILE_IMMEDIATE) { in handleAddrDef()
329 for (int s = 0; i->srcExists(s); ++s) { in handleAddrDef()
371 for (int s = 2; add->srcExists(s); ++s) in handleMUL()
Dnv50_ir_target_nv50.cpp338 for (int z = 0; i->srcExists(z); ++z) in insnCanLoad()
445 for (int s = 0; insn->srcExists(s); ++s) in mayPredicate()
Dnv50_ir_ssa.cpp245 for (int s = 0; i->srcExists(s); ++s) in buildLiveSetsPreSSA()
467 for (s = 0; stmt->srcExists(s); ++s) { in search()
Dnv50_ir_inlines.h298 for (int i = 0; obj->srcExists(i); ++i) in cloneForward()
Dnv50_ir_print.cpp540 for (s = 0; srcExists(s); ++s) { in print()
Dnv50_ir.h622 inline bool srcExists(unsigned s) const in srcExists() function
/external/mesa3d/src/gallium/drivers/nvc0/codegen/
Dnv50_ir_emit_nvc0.cpp147 int r = insn->srcExists(s) ? SDATA(insn->src(s)).id : 63; in srcId()
304 if (i->srcExists(2) && i->getSrc(2)->reg.file == FILE_MEMORY_CONST) in emitForm_A()
307 for (int s = 0; s < 3 && i->srcExists(s); ++s) { in emitForm_A()
378 for (int s = 1; s < 3 && i->srcExists(s); ++s) { in emitForm_S()
651 if (i->srcExists(2)) in emitLogicOp()
656 if (i->srcExists(2)) in emitLogicOp()
661 if (i->srcExists(2)) // carry in emitLogicOp()
988 return !i->next->srcExists(1) || !i->getDef(0)->interfers(i->next->getSrc(1)); in isNextIndependentTex()
1051 if (i->srcExists(src1) && i->src(src1).getFile() == FILE_IMMEDIATE) { in emitTEX()
1111 srcId(i->srcExists(1) ? i->src(1) : i->src(0), 26); in emitQUADOP()
[all …]
Dnv50_ir_lowering_nvc0.cpp219 for (int s = 0; insn->srcExists(s); ++s) in findOverwritingDefs()
242 for (int s = 0; usei->srcExists(s); ++s) { in findFirstUses()
478 for (int s = 0; i->srcExists(s); ++s) { in replaceZero()
813 while (txd->srcExists(arg)) in handleTXD()
1019 if (i->srcExists(0)) in handleOUT()
Dnv50_ir_target_nvc0.cpp408 for (int k = 0; i->srcExists(k); ++k) { in insnCanLoad()